Example web app based on this template: https://foo333-questions.web.app
Create project under https://console.firebase.google.com/
Run "npm install"
Change all occurences of the name foo333 to the new project name in the following files:
- .firebaserc
- package-lock.json
- package.json
- public/index.html
- public/manifest.json
- src/components/app/App.tsx
Run "cd src/style" Run "python calc-colors.py '#......'" with the desired main color in hex
Replace favicon.ico, logo192.png and logo512.png in /public
Run "npm run build" Run "firebase deploy"
- Set PRODCUTION in src/components/app/App.tsx to false
- Run "npm start"
- Add chapters, questions and corresponding pictures in /src/data
- Stop "npm start"
- Increment version number in src/components/app/App.tsx
- Set PRODCUTION in src/components/app/App.tsx to true
- Run "npm run build"
- Optional: Check run "firebase serve"
- Run "firebase deploy"