Keep track of the beers at beerfests.
This process is pretty manual at this point.
- First, make sure you're running the right version of node with
nvm install
. - You'll also need some data for the festival - often the festival will have a spreadsheet or something you can export to JSON.
- Create a new document in the
fests
collection within Firebase (the Firestore Database). For this, you'll need at least aname
field, and you can also add an optional date. - Open up the import script at
bin/import-to-firestore.js
. Update thebeerData
variable to import the relevant data file, then update thefestId
variable in this script with the document ID of the festival record you just created. You'll also probably need to adjust the script to match your data structure.
This app is hosted with Firebase hosting. To deploy to the hosting environment:
- Make sure you have the Firebase CLI installed.
- Log into the Firebase CLI with
firebase login --reauth
. - Build the app with
yarn build
. - Deploy with
firebase deploy --only hosting
.