The Re-Order of Pi Project
Some undetailed instructions to kinda help you set it up.
- Create folder for project, something like OrderOfPi_Proj
- Clone repo in this folder
- If you don't already, get MySQL
mysql < dbinit.sqlto set up our database
You will need to install virtualenvwrapper for this project. We will have some python dependencies for the project and it makes it super helpful when we have 3rd party packages.
- Download virtualenv (https://pypi.python.org/pypi/virtualenv)
pip install virtualenvwrapper(https://virtualenvwrapper.readthedocs.io/en/latest/)
To help with conflicts in project dependencies we'll create a virtualenv for the project. The command reference:
mkvirtualenv -p python3 orderofpiNOTE: You will need python3 for this. Also the -p python3 command may vary with your OSworkon orderofpithis switches to your orderofpi env. Ensure that you have(orderofpi)at the very most left point of your command line- While in your env:
pip install -r requirements.txt pip freezewill show the project dependencies
Do your party dance, you made it! I think... Your django management commands will be listed with the use of ./manage.py.