Update README.md
This commit is contained in:
@ -8,12 +8,12 @@
|
|||||||
1. Ensure you have Java 11 or greater installed.
|
1. Ensure you have Java 11 or greater installed.
|
||||||
2. Run `npm install` in the traintracker directory.
|
2. Run `npm install` in the traintracker directory.
|
||||||
3. Run `npm install` in the functions directory.
|
3. Run `npm install` in the functions directory.
|
||||||
4. Start the emulator (needed to emulate the functions locally) `firebase emulators:start &` (the & forks it into the background).
|
4. Start the emulator (needed to emulate the functions locally) `firebase emulators:start &` (the `&` forks it into the background).
|
||||||
5. Run `npm run dev`
|
5. Run `npm run dev`
|
||||||
You will need to click the "Populate Database" and "Fetch Data" buttons to get data into your local version of the webapp.
|
You will need to click the "Populate Database" and "Fetch Data" buttons to get data into your local version of the webapp.
|
||||||
|
|
||||||
To kill the npm process do `CTRL + C` in your terminal.
|
To kill the npm process do `CTRL + C` in your terminal.
|
||||||
To kill the firebase emulators do run `fg` to bring the process to the foreground, then do `CTRL + C`
|
To kill the firebase emulators run `fg` to bring the process to the foreground, then do `CTRL + C`
|
||||||
|
|
||||||
# Committing
|
# Committing
|
||||||
Make sure that you exclude the Firebase API key from any commits!
|
Make sure that you exclude the Firebase API key from any commits!
|
||||||
|
Reference in New Issue
Block a user