Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 1.5 KB

deployment.md

File metadata and controls

20 lines (14 loc) · 1.5 KB

Hosting Service

Currently we use Azure App Service to host our backend. We are subscribed to a free tier offering:

  • 60 CPU Minutes/day
  • 1 GB RAM
  • ~350 MB of out data/day

Note

These limits will be enough for our development process, but we must consider upgrading to a higher tier when we publish the application publicly.

image

Hosting Environment

There are currently two different environments that our backend can be deployed to; the test environment and the production environment. Both environments share the resources listed above. Both environments have three environment variables defined, namely BrainFoodEndpoint, BrainFoodUsername, BrainFoodPassword. These variable are responsible for Database connectivity and without them defined the server WILL CRASH.

image

Deployment Process

The backend is automatically deployed to the test environment whose url is brainfood-test.azurewebsites.net whenever a commit is pushed to any branch in this repository. It is also automatically deployed to the production environment brainfood.azurewebsites.net when a PR is merged into main.

Note that you can also trigger a deployment manually by running the deploy-test.yml or deploy-production.yml workflows in Github Actions.