-
Install frontend dependencies(using yarn)
cd frontend && yarn install
-
Add
.env
files.env
in frontend folder- add firebase credentials
REACT_APP_API_KEY=... REACT_APP_AUTH_DOMAIN=... REACT_APP_DATABASE_URL=... REACT_APP_PROJECT_ID=... REACT_APP_STORAGE_BUCKET=... REACT_APP_MESSAGING_SENDER_ID=... REACT_APP_APP_ID=... REACT_APP_MEASUREMENT_ID=... REACT_APP_BACKEND_URL=http://localhost:5000
.env
in backend folder- add firebase credentials
FIREBASE_PRIVATE_KEY_ID=... FIREBASE_PRIVATE_KEY=... FIREBASE_CLIENT_EMAIL=... FIREBASE_CLIENT_ID=... FIREBASE_CLIENT_CERT_URL=...
-
Start the app
-
Start frontend: In the
frontend
folder, runyarn start
-
Start backend:
-
In the project root, run
docker-compose up --build
OR
-
Start using poetry: In
backend
folder, runpoetry install
poetry shell
python backend/app.py
-
-
- Automatic deploy
- Push to
main
branch
- Push to
- Manual deploy
- Go to Render dashboard and deploy latest commit
In backend
folder,
heroku container:push web -a drawma
heroku container:release web -a drawma
- React
- Flask
Thank you to...