Last active
December 11, 2015 04:39
-
-
Save arruda/4546833 to your computer and use it in GitHub Desktop.
Django 1.5 – Startproject Using Custom Structure
http://www.arruda.blog.br/programacao/django-1-5-startproject-using-custom-structure/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| django-admin.py startproject --template=https://github.com/githubuser/dj_project_templates/blob/master/project_template.tar --extension="md,py" myproject |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ├── LICENSE | |
| ├── manage.py | |
| ├── project_name | |
| │ ├── apps | |
| │ │ └── __init__.py | |
| │ ├── __init__.py | |
| │ ├── libs | |
| │ │ ├── html5_boilerplate | |
| │ │ │ ├── __init__.py | |
| │ │ │ ├── README.rst | |
| │ │ │ ├── static | |
| │ │ │ │ ├── apple-touch-icon.png | |
| │ │ │ │ ├── css | |
| │ │ │ │ │ └── h5bp.css | |
| │ │ │ │ ├── favicon.ico | |
| │ │ │ │ └── js | |
| │ │ │ │ ├── libs | |
| │ │ │ │ │ ├── jquery-1.7.1.js | |
| │ │ │ │ │ ├── jquery-1.7.1.min.js | |
| │ │ │ │ │ └── modernizr-2.5.3.min.js | |
| │ │ │ │ └── plugins.js | |
| │ │ │ └── templates | |
| │ │ │ ├── 403.html | |
| │ │ │ ├── 404.html | |
| │ │ │ ├── 500.html | |
| │ │ │ ├── html5-boilerplate.html | |
| │ │ │ ├── humans.txt | |
| │ │ │ └── robots.txt | |
| │ │ ├── __init__.py | |
| │ │ └── user_backends | |
| │ │ ├── email_username.py | |
| │ │ └── __init__.py | |
| │ ├── media | |
| │ ├── scripts | |
| │ │ └── __init__.py | |
| │ ├── settings | |
| │ │ ├── config.py | |
| │ │ ├── env_dev.py | |
| │ │ ├── env_prod.py | |
| │ │ ├── __init__.py | |
| │ │ ├── installed_apps.py | |
| │ │ ├── logging.py | |
| │ │ └── utils.py | |
| │ ├── static | |
| │ │ ├── css | |
| │ │ ├── images | |
| │ │ └── js | |
| │ ├── templates | |
| │ │ ├── index.html | |
| │ │ └── util | |
| │ │ ├── base.html | |
| │ │ ├── float-lateral.html | |
| │ │ ├── footer.html | |
| │ │ ├── header.html | |
| │ │ └── skeleton.html | |
| │ ├── urls.py | |
| │ └── wsgi.py | |
| ├── README.md | |
| └── requirements.txt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cat <<EOF >> ~/.bashrc | |
| #django | |
| alias djproj='django-admin.py startproject --template=https://github.com/arruda/dj_project_templates/raw/master/project_template.tar --extension="md,py"' | |
| alias djapp='django-admin.py startapp --template=https://github.com/arruda/dj_project_templates/raw/master/app_template.tar' | |
| EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| django-admin.py startproject myproject |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| django-admin.py startproject --template=/Users/arruda/projects/dj_project_templates --extension="md,py" myproject |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment