django-admin.py startproject <projectname> --template=https://github.com/igorgai/django-project-template/archive/master.zip --name=.gitignore,README.md,.bowerrc --extension=json,py,md,txt,less
-
Install pipenv (in case you don't have it installed yet). In the terminal:
pip install pipenv -
Navigate to the project directory:
cd {{ project_name }}/ -
Initialize virtual environment:
pipenv install --three -
Copy the file at {{ project_name }}/settings/local.example.py and save it in the same directory under the name of "local.py":
cp {{ project_name }}/settings/local.example.py {{ project_name }}/settings/local.py -
Install dependencies and initial data:
pipenv run fab initial_data
pipenv run python manage.py createsuperuser
npm -g install bower (Node should be installed)
bower install