# firebase-archiver-2 ## Project setup ``` yarn install ``` ### Compiles and hot-reloads for development ```bash yarn serve ``` ### Compiles and minifies for production ```bash yarn build ``` ### Lints and fixes files ```bash yarn lint ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). ### Release process 1. install firebase locally 2. login to your firebase account with `firebase login` 3. make sure you have access to the project `firebase projects:list` 4. build `yarn build` and then release `firebase deploy --only hosting` 5. to update schedule functions `firebase deploy --only functions` 6. if you add any library to a function, install it inside the `/functions` folder and not in the root folder 7. to update secrets use `firebase functions:secrets:set SECRET_NAME` more info [here](https://firebase.google.com/docs/functions/config-env?gen=2nd#managing_secrets) 1. `API_SERVICE_PASSWORD` for the auto-archiver-api 2. `GOOGLE_API_CLIENT_EMAIL` and `GOOGLE_API_PRIVATE_KEY` for the scheduled function to validate sheets exist