This is a Makefile script which takes of activation the virtualenv and installing the requirement and running the python script.
- python3 and pip
make initialise_venv - to initialize the virtualenv
make install_dependency - to install the dependency from requirements file
make freeze_dependency - to freeze the dependencies
make delete_venv - to clean the virtual env
make all - to initialize the virtualenv and install the package dependencies
make migrate - django apply migrations
make makemigrations - django create migrations
make syncdb - django create migrations and apply them
make run - to run the python script (this should be executed after make all)
make all
make run