- Clone repository
git clone [email protected]:outplay-team/episciences-front.git
- Install dependencies
npm i
- Create
.env.local
file - 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.local
file with production values npm run build
npm run preview
(optional preview build)- copy
dist
folder to production
- update application code:
git pull
- update assets:
cd external-assets;git pull
- test :
cd ..; npm run dev