$ django-admin.py startproject --template=https://github.com/vasyabigi/django-template/zipball/master --extension py,md,gitignore,example woot
Where woot
is the name of the project you'd like to create.
- Change repository link;
- Make
git add {{ project_name }}/logs/.gitdirectory {{ project_name }}/public/.gitdirectory {{ project_name }}/static/.gitdirectory -f
; - Remove everything above this sentence;
Create a virtual python environment for the project. If you're not using virtualenv or virtualenvwrapper you may skip this step.
mkvirtualenv {{ project_name }}
virtualenv {{ project_name }}
source {{ project_name }}/bin/activate
git clone YOUR-CUSTOM-REPO-LINK/{{ project_name }}.git
cd {{ project_name }}
pip install -r reqs/dev.txt
cp {{ project_name }}/settings/dev.py.example {{ project_name }}/settings/dev.py
vi {{ project_name }}/settings/dev.py
python manage.py migrate
python manage.py runserver