git clone git@github.com:<username>/resto-api.git
cd inventory_api
- Install the virtualenv tool and create a virtual environment
pip install virtualenv
virtualenv env
- Install the dependencies
pip install -r requirements.txt
- Run the migrations
python manage.py makemigrations
python manage.py migrate
- Finally, run the server
python manage.py runserver
To execute the db entry script, go inside the utils
sub directory and run the dbentry.py
file
cd utils
python dbentry.py