-
Notifications
You must be signed in to change notification settings - Fork 3
Deployment
Louis Tsai edited this page Oct 27, 2019
·
1 revision
The website is based on Project Hoverboard from GDG[x], and the TL;DR: of it is that it's made of 2 parts:
- static website
- All HTML/CSS/JS
- All markdown
- All images
- A lot of relatively stable data (e.g. event date, venue, copy, etc.)
- data on firebase (i.e. everything in
docs/default-firebase-data.json
)- Speakers
- Sessions
- Team
- Tickets
- and more.
- Static content
- Update the HTML/JS/CSS/images/etc. locally
- Run
npm start
to see if it works locally on your machine - Just run
npm run build
andnpm run deploy
, and you should be good to go - And don't forget to commit & push those changes
- "Dynamic" content
- Update
docs/default-firebase-data.json
- Edit the last section of
internals/import-temp.js
to specify which version you want to update - run
npx babel-node ./internals/import-temp.js
- Update