Skip to content

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

Notifications You must be signed in to change notification settings

Akcps/makefile-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published