Quickly bootstrap a Django app using virtualenvwrapper. The default project template includes startup assets for generating a responsive design from bootstrap
Requirements
Installation
pip install virtualenvwrapper.django_template
Usage
mkproject -t django <project_name>
This will generate a startup project with a basic responsive design courtesy of Twitter Bootstrap
Default project
├── app │ ├── __init__.py │ ├── public │ │ └── assets │ │ ├── css │ │ │ ├── bootstrap.css │ │ │ └── bootstrap-responsive.css │ │ ├── ico │ │ │ ├── apple-touch-icon-114-precomposed.png │ │ │ ├── apple-touch-icon-144-precomposed.png │ │ │ ├── apple-touch-icon-57-precomposed.png │ │ │ ├── apple-touch-icon-72-precomposed.png │ │ │ ├── favicon.ico │ │ │ └── favicon.png │ │ └── js │ │ ├── application.js │ │ ├── bootstrap-affix.js │ │ ├── bootstrap-alert.js │ │ ├── bootstrap-button.js │ │ ├── bootstrap-carousel.js │ │ ├── bootstrap-collapse.js │ │ ├── bootstrap-dropdown.js │ │ ├── bootstrap.js │ │ ├── bootstrap.min.js │ │ ├── bootstrap-modal.js │ │ ├── bootstrap-popover.js │ │ ├── bootstrap-scrollspy.js │ │ ├── bootstrap-tab.js │ │ ├── bootstrap-tooltip.js │ │ ├── bootstrap-transition.js │ │ ├── bootstrap-typeahead.js │ │ ├── google-code-prettify │ │ │ ├── prettify.css │ │ │ └── prettify.js │ │ ├── holder │ │ │ └── holder.js │ │ ├── jquery.js │ │ └── README.md │ ├── settings.py │ ├── templates │ │ ├── 404.html │ │ ├── 500.html │ │ ├── base.html │ │ ├── index.html │ │ ├── mail │ │ │ └── base.html │ │ └── robots.txt │ ├── urls.py │ ├── views.py │ └── wsgi.py ├── manage.py ├── media ├── README.md ├── redirects ├── requirements.txt └── static
To use your own project template, you must set an environment variable
export DJANGO_TEMPLATE=/opt/project_templates/my_fun_template; mkproject -t django <project_name>
Comments !