6e5a6ee9f225786156c5ab15dcfb37b0a293f742
Add routing, state mgmt and train types
Running Build & Deploying it to Firebase
npm run build && firebase deploy
Running Firebase Tests
cd functions && npm run test
Running Locally
- Ensure you have Java 11 or greater installed.
- Run
npm install
in the traintracker directory. - Run
npm install
in the functions directory. - Start the emulator (needed to emulate the functions locally)
firebase emulators:start &
(the&
forks it into the background). - 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.
To kill the npm process do CTRL + C
in your terminal.
To kill the firebase emulators run fg
to bring the process to the foreground, then do CTRL + C
Committing
Make sure that you exclude the Firebase API key from any commits!
Links
Main site: irishrailtracker.web.app
Jira: trainenthusiasts.atlassian.net
Github: github.com/0hAodha/traintracker
Description
Languages
Vue
71.5%
JavaScript
28.2%
HTML
0.3%