codeformuenster / muenster-jetzt

https://muenster-update.de/
MIT License
3 stars 0 forks source link

muenster-jetzt

Deployment

We use GitHub Actions to build and push the application container images to Docker Hub (frontend, backend). The rest of the deployment is handeled on a kubernetes cluster (Kustomization files).

Deployments live at https://staging.muenster-update.de (Staging API) and https://muenster-update.de (Production API).

Staging deployment

Staging follows the master branch.

Production deployment

The production should run the lastest git tag.

Dev Setup with VS Code

If you don't want to use VS Code or the proprietary remote development extension pack, check the README files of the back and frontend.

Intro

There is no need to clutter your dev machine with different versions of every tool (like nodejs, python). We are using docker containers as a dev environment to leave your host in a clean state and prevent "works on my mashine" bugs. This guide will help you to setup everything in a convenient way without the typical drawbacks of developing in a container (e.g. no debugging, missing code completion etc.)

Pre-Requirements

Install the following things:

To understand the details behind this, take a look at these links:

Configure your environment

within the backend folder: Copy the .env.example into a .env file and edit the content to your needs. This is only a dev setup but please choose at least unique passwords!

Run the code

🎉 congrats you are now running your dev environment

Final Notes

This setup does a few cool things: