Commit graph

3 commits

Author SHA1 Message Date
Norbi Peti e4ff4f5acf
Get page title from routes, including for menu items
- Fixed the user always being set to root instead of node because of the $USERNAME variable
2022-01-20 17:56:29 +01:00
Norbi Peti aa6f3f51de
Fix backend production deploy and database connection
- Fixed database URL locally and in production
- Set separate DB user just to be safe
- Migrate DB schema on each launch
- Use node user during dev but use root during deploy
- Fix output of the dev container (tsc-watch --noClear)
2021-11-15 22:47:41 +01:00
Norbi Peti c62925daf7
Add Heroku deploy and frontend/backend deploy scripts
- Added local DB container
- Added scripts to deploy frontend/backend by running the deploy command in the containers
- Installing Docker and Heroku CLI in the dev backend container to be able to build and push the container without installing the CLI on the host
- Building and pushing the production container to the Heroku Container Registry
2021-11-15 20:34:45 +01:00