Repositorio para el backend del proyecto TicketApp de la materia Taller de Desarrollo de Proyectos II en FIUBA.
Develop: http://localhost:{PORT}/api/
One commands is given in order to simplify server execution:
make start-server
- Will start a server.
Host and port on which the server will run can be specified by using two variables on start-server
:
make start-server PORT=4000 HOST=127.0.0.1
If not specified, port will be defaulted to 4000 and host to 0.0.0.0
You can easily get TicketApp API up by running
docker build -t ticketapp .
docker run -d --name ticketapp-container -p 8080:8080 ticketapp
-
Install virtualenv
-
Create virtual env
virtualenv acp1 --python=python3
- Activate env
source acp1/bin/activate
- To deactivate run
deactivate
- Install Poetry
curl -sSL https://install.python-poetry.org | python3 -
or
pip install poetry
-
Check enviroment variables
-
Install dependencies
poetry install