Akcps / makefile-python

This is a MakeFile script which takes of activation the virtualenv and installing the requirement and running the python script

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

makefile-python

This is a Makefile script which takes of activation the virtualenv and installing the requirement and running the python script.

prerequisite

  • python3 and pip

commands

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)

sample

make all
make run

About

This is a MakeFile script which takes of activation the virtualenv and installing the requirement and running the python script


Languages

Language:Makefile 100.0%