Development Environment - Garasje-folka/bartstua GitHub Wiki
- Install git
- Download and install Firebase CLI: https://firebase.google.com/docs/cli
- Globalli install yarn package manager with
npm install -g yarn
. (yarn package manager) - Clone project with git to a local folder
- Open project folder with the terminal
- Run
yarn
- Run
yarn start
- Open new terminal in project folder while previous command is running.
- Run
yarn emulators
in the new terminal - If everything went right, the project should be up and running!
Installs all dependencies needed for the project.
Starts the development server for the website.
Installs dependencies and builds Cloud Functions. When finished, starts Firebase Emulators
Builds Cloud Functions. Used to update Cloud Functions while running emulators or before deploying Cloud Functions.
Installs dependencies Cloud Functions.