An open source automation tool to help build the perfect enviroment for a Django Project. By using a series of prompts it accomplishes this by:
- Creating a Virtual enviroment using
virtualenv
(conventionally named 'env') - Installing the latest version of
django
into 'env' - Creating both the Site Directory & App Directory
- Has a flag to switch between Production and Development settings
- Creates a production ready settings file (settings_pro.py)
- Creates a requirements.txt for development and requirements_pro.txt for production requirements. (Conventionally django is used with postgresql so the plugin for it is already in the requirements_pro.txt)
python3
(orpython2
)virtualenv
Ideally in the manor of steps:
- You have cloned this repo or downloaded the script.
- Create your project directory
$ mkdir yourproject
- change into that directory
$ cd yourproject
- copy the
django-start.py
file into your project directory$ cp [path to]/django-start.py .
- Run the script
Running the script is really easy and can be done one of two ways.
Method 1:
$ python django-start.py
Method 2:
$ ./django-start.py
Please fill free to submit bugs or enhancements through the issue tracker! I will be maintaining this project for some time as I'm a big fan and developer using django. Feel free to make contributions by submitting Pull Requests as well! Thanks!