Install all the necessary dependencies using:
pip install -r requirements.txt
and then you can run the app using:
python3 main.py
In the docker file a simple setup is described to run the server. It will install all the dependencies in a container, meaning that if it runs on there it should also run on our machines (hopefully).
You can build and run the container using the provided Makefile:
make
or the following command can be used:
- build the image:
docker build -t mesa-backend .
- Run the image (will automatically start the server):
docker run -e TZ=America/Los_Angeles -t -i -p 5000:5000 -p 80:80 --rm mesa-backend