This repository has been archived by the owner on Aug 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Skeleton setup to quickly start a Django project.
License
gillesfabio/django-newproject
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Introduction ------------ Skeleton setup to quickly start a `Django`_ project. Installation ------------ Install requirements: * `Git`_ * `Subversion`_ * `Fabric`_ * `pip`_ * `Virtualenv`_ * `Virtualenvwrapper`_ Clone the project:: $ git clone git://github.com/gillesfabio/django-newproject.git This will create ``django-newproject`` directory in your current directory. Create a project ---------------- Launch ``newproject`` Fabric task:: $ cd django-newproject $ fab newproject The script will ask you some questions. Go in the project's directory and active the virtualenv:: $ cd /path/to/your/project $ workon yourproject Customization ------------- The default configuration for a "standard" Django project (not a Google App Engine one) uses ``sqlite3`` database backend. The database file is stored in ``db/development.sqlite``. If this does not suit your needs, edit ``settings_local.py``. Edit these files as necessary: * ``settings.py`` * ``urls.py`` * ``requirements-prod.txt`` * ``requirements.txt`` * ``templates/layout/base.html`` Then, synchronize the database and run the server:: $ python manage.py syncdb $ python manage.py runserver That's all. Have fun! .. _Django: http://djangoproject.com/ .. _Git: http://git-scm.org/ .. _Subversion: http://subversion.tigris.org/ .. _Fabric: http://fabfile.org/ .. _pip: http://pypi.python.org/pypi/pip .. _Virtualenv: http://pypi.python.org/pypi/virtualenv .. _Virtualenvwrapper: http://pypi.python.org/pypi/virtualenvwrapper
About
Skeleton setup to quickly start a Django project.
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published