- Clone repository
git clone git@github.com:outplay-team/episciences-front.git - Install dependencies
npm i - Create
.env.localfile - Run project
npm run dev
- Make sure to have Firebase CLI installed ( follow https://firebase.google.com/docs/cli#install_the_firebase_cli )
- Login to Firebase
firebase login - Build & deploy project
rm -rf dist && npm run build && firebase deploy
- Create a
.env.localfile with production values npm run buildnpm run preview(optional preview build)- copy
distfolder to production
- update application code:
git pull - update assets:
cd external-assets;git pull - test :
cd ..; npm run dev