CVRP API is an api of resolving routing capacities problems with the gurobipy algorithm
Before installing the project, you need some prerequisites
- Install Python3 and pip
- Install Flask and add it to your environnment variables
- Have a licence of gurobipy
To install the project there are some things you need to do
- Create a .env file
DATABASE_URL=*URL* #URL of your database connection
- Create a .flaskenv file
FLASK_APP=app #define the file where the Flask app is running
FLASK_DEBUG=True #debug mode active in development mode
- Install all dependencies
pip install -r requirements.txt
flask run