- Checkout the repository
git clone -b develop https://github.com/sumeetgala840/selliafemono.git
- With nvm make sure node 12.0.0 is used nvm installation: https://jamesauble.medium.com/install-nvm-on-mac-with-brew-adb921fb92cc
nvm use 12.0.0
- Install firebase tools 8.16.2
npm i -g [email protected]
- From project root directory
yarn
- From project root directory
yarn web
- From project root directory
yarn server
- In the browser, Sellia web app should be running on localhost:3000 (if port is not changed)
http://localhost:3000/
-
Confirm web/package.json and server/package.json have same entries
-
From project root directory,
yarn web:build
- Once 1 completed, from root directory,
yarn server:build
-
Confirm cloud/next exists
-
From root directory,
yarn deploy
-
Changes will be reflected to test URL,
- Upload cloud functions changes,
cd packages/cloud && NODE_ENV=production firebase deploy --only functions:userActivityNotificationListner