- Have this repo checked out in the same directory as frontend and backend, e.g. like this
$ mkdir supermarkt && cd supermarkt $ git clone https://github.com/wirvsvirus-dortmund/frontend $ git clone https://github.com/wirvsvirus-dortmund/backend $ git clone https://github.com/wirvsvirus-dortmund/docker-compose $ cd docker-compose
- Copy the env-template to .env and fill in the necessary values
-
Start the backend in the backend directory using
$ FLASK_DEBUG=true poetry run flask run
-
Start the frontend in the frontend directory
$ npm run serve
-
Start the nginx coupling them together using
$ docker-compose up -d nginx-dev
-
run
$ docker-compose up -d --build frontend backend database
-
Visit http://localhost:8080