[go: up one dir, main page]

Skip to content

absemetov/rzkmarket

Repository files navigation

Build Setup

# restart aws site
$ pm2 restart index
# projects list
$ yarn pl

# serve frontend
$ yarn --cwd functions/ parcel-s
$ yarn --cwd functions/ vite

# serve functions
$ yarn s-f
# serve functions and firestore
$ yarn s-ff
# serve functions and hosting
$ yarn s-fh
# serve functions firestore and hosting
$ yarn s-ffh
# generate sitemap file
$ node functions/sites/rzk.com.ru/sitemap.js ua sitemap
# generate robots file
$ node functions/sites/rzk.com.ru/sitemap.js ua robots
# generate robots file
$ node functions/sites/rzk.com.ru/sitemap.js ua merchant
# build for production and launch server
$ yarn --cwd functions/ parcel-b
$ yarn --cwd functions/ vite-b
$ yarn deploy-site-*
$ yarn deploy-bot-*
$ yarn deploy-triggers-*