Skip to content

yuriymironov96/traffic-optimizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Entities

DB entities and relations

For the sake of simplicity and quicker MVP development, currently only the very basic entities should be implemented. Therefore features like multi-point routes, delivery time constraints and so on are omitted for now, but can be added later.

img

See the full database scheme https://app.quickdatabasediagrams.com/#/d/SXURVB

Routes will be calculated on the fly for the sake of interactivity and simplicity and will not be cached in the DB.

Server setup guide

  1. Install python 3.
  2. Instal virtualenv (https://virtualenv.pypa.io/en/latest/installation/). For Mac/Unix:
pip install virtualenv

On Windows it should already be installed with your Python distribution.

  1. Create virtual environment called "venv" within the project directory. For Mac/Unix:
virtualenv -p python3 venv
  1. Activate virtual environemnt. For Mac/Unix:
source venv/bin/activate

For Windows:

venv/Scripts/activate.bat
  1. Install server-side dependencies. Go to server/traffic_optimizer, run
pip install -r requirements.txt
  1. Apply migrations:
python manage.py migrate
  1. Run server:
python manage.py runserver 0.0.0.0:8000

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published