{ "info": { "author": "Dmitry Guyvoronsky", "author_email": "dmitry.guyvoronsky@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Code Generators", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-fab-templates is set of start templates for Django projects. All of these templates support automated Django project deployment with help of `Fabric`_. Feel free to use them as is or tweak them to fit your needs.\r\n\r\nKudos to:\r\n\r\n* Gareth Rushgrove and his `django-project-templates`_ for inspiration\r\n* Colin Copeland for his introduction to `basic Django deployment with virtualenv, fabric, pip and rsync `_\r\n\r\nPlease submit bugs and improvements as `GitHub issues `_ or send them to dmitry.guyvoronsky@gmail.com.\r\n\r\nQuick Start\r\n===========\r\n\r\nHere is quick primer on creation of new Django project (mysql+south+html5boilerplate) that supports deployment to vagrant-managed virtual box.\r\n\r\nFirst, install everything::\r\n\r\n $ pip install django-fab-templates\r\n $ gem install vagrant\r\n $ vagrant box add lucid32 http://files.vagrantup.com/lucid32.box\r\n \r\nThen create new Django project, boot and configure vagrant box::\r\n\r\n $ paster create -t vagrant_project my_project\r\n $ cd my_project\r\n $ vagrant up\r\n\r\nFinally set up your project on virtual vagrant box and test it::\r\n\r\n $ fab vagrant setup\r\n $ curl -I http://localhost:8080/\r\n\r\nFeatures\r\n========\r\n\r\nAll project templates have the following in common:\r\n\r\n* Automated deployment with help of `Fabric`_ command-line tool is supported\r\n* Excellent `html5 boilerplate template `_ is used as a base for html+css+js\r\n* SQLite and MySQL are used as default db backends\r\n* Database scheme and data migrations are managed by `South`_\r\n* Multiple configurations (development/staging/production) and local setting overrides are supported\r\n\r\n.. _common:\r\n\r\nThe following major ``fab`` commands are supported in all projects:\r\n\r\n* **Webserver manipulation**\r\n * apache_restart - Restarts apache\r\n * apache_start - Starts apache\r\n * apache_stop - Stops apache\r\n * maintenance_off - Turn maintenance mode off\r\n * maintenance_on - Turn maintenance mode on\r\n* **Database**\r\n * create_database - Create database and db user\r\n * drop_database - Create database and db user\r\n * populate_database - Create initial database scheme and load initial data\r\n * migrate - Migrate database scheme and data\r\n\r\n\r\nvagrant_project\r\n---------------\r\n\r\nThis project template simplifies Django project development and testing on vagrant-managed virtual box. It uses 32-bit Ubuntu 10.04.2 LTS (Lucid Lynx) release (codename ``lucid32``). Of course you operating system of your choice, just keep in mind you may need to tweak Chef settings in `Vagrantfile`_.\r\n\r\n **Hint**\r\n \r\n `Vagrant`_ is an amazing tool for managing virtual machines via a simple to use command line interface. With a simple ``vagrant up`` you can be working in a clean environment based on a standard template. You will need to install vagrant, download ``lucid32`` box and boot up vagrant by running::\r\n \r\n $ gem install vagrant\r\n $ vagrant box add lucid32 http://files.vagrantup.com/lucid32.box\r\n $ vagrant init\r\n $ vagrant up\r\n \r\n Please refer to `Getting Started with Vagrant `_ manual for details.\r\n \r\nThe following ``fab`` commands are supported in addition to common_ ones:\r\n\r\n* **General commands**\r\n * setup - Setup a fresh virtualenv, install everything we need\r\n * destroy_world - Removes everything\r\n \r\nExample::\r\n\r\n $ paster create -t vagrant_project my_project\r\n $ cd my_project\r\n $ vagrant up\r\n $ fab vagrant setup\r\n\r\n\r\nDependencies\r\n============\r\n\r\ndjango-fab-templates requires the following python packages:\r\n\r\n* `setuptools `_ - no comments\r\n* `PasteScript `_ - pluggable command-line frontend, including commands to setup package file layouts\r\n* `Cheetah `_ - a template engine and code generation tool\r\n* `Fabric`_ - command-line automation tool\r\n* `Jinja2 `_ - modern and designer friendly templating language for Python\r\n\r\nInstallation\r\n============\r\n\r\nFrom `pypi `_::\r\n\r\n $ pip install django-fab-templates\r\n\r\nor::\r\n\r\n $ easy_install django-fab-templates\r\n\r\nor clone from `GitHub `_ and install manually::\r\n\r\n $ git clone git://github.com/dreamiurg/django-fab-templates.git\r\n $ cd django-fab-templates\r\n $ sudo python setup.py install\r\n\r\nUsage\r\n=====\r\nTo see list of available project templates::\r\n\r\n $ paster create --list-templates\r\n \r\nTo generate Django project template::\r\n\r\n $ paster create -t \r\n\r\n\r\n.. _fabric: http://fabfile.org\r\n.. _vagrant: http://vagrantup.com/\r\n.. _south: http://south.aeracode.org/docs/about.html\r\n.. _django-project-templates: http://pypi.python.org/pypi/django-project-templates/\r\n.. _Vagrantfile: https://github.com/dreamiurg/django-fab-templates/blob/master/src/django_fab_templates/templates/vagrant_project/Vagrantfile", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dreamiurg/django-fab-templates", "keywords": "django,fabric,vagrant,template,project,html5,boilerplate,vm,virtualbox,paster", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-fab-templates", "package_url": "https://pypi.org/project/django-fab-templates/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-fab-templates/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/dreamiurg/django-fab-templates" }, "release_url": "https://pypi.org/project/django-fab-templates/0.1.2/", "requires_dist": null, "requires_python": null, "summary": "Django project templates that support fabric-style deployment (vagrant+ubuntu, webfaction)", "version": "0.1.2" }, "last_serial": 789598, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "1d007baee855c38f4cd916c1fd8c82b2", "sha256": "c270aa84305915904a00da9436c8d64b1ee701d7ac82825f0b49fc12f6a6b649" }, "downloads": -1, "filename": "django-fab-templates-0.1.tar.gz", "has_sig": false, "md5_digest": "1d007baee855c38f4cd916c1fd8c82b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 291768, "upload_time": "2011-05-21T00:41:46", "url": "https://files.pythonhosted.org/packages/3a/a8/1119fdac08981beb5ea6613c6d792b04e8d4013d9791110cf76fc24b230b/django-fab-templates-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "2bc75d6b99ddfea9a754f3e3e277a7aa", "sha256": "f6d919b9f616efcf5ab101252ac41d340c5224aa9b43584d55bae6296b229f0f" }, "downloads": -1, "filename": "django_fab_templates-0.1.1-py2.6.egg", "has_sig": false, "md5_digest": "2bc75d6b99ddfea9a754f3e3e277a7aa", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 836092, "upload_time": "2011-05-24T00:37:02", "url": "https://files.pythonhosted.org/packages/53/5a/7fc89c7e6f64971b22884e2ac2ab09d98d5a23392a4143acad425cf3535f/django_fab_templates-0.1.1-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "f567126875f61a1a80c3457b72d4dd9d", "sha256": "48c3d54f6e3d5b72f1e4ceb4b840458ab7cb39f214e7b7fee433cf1ea4f08036" }, "downloads": -1, "filename": "django_fab_templates-0.1.1-py2.7.egg", "has_sig": false, "md5_digest": "f567126875f61a1a80c3457b72d4dd9d", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 835989, "upload_time": "2011-05-24T00:36:06", "url": "https://files.pythonhosted.org/packages/d3/7e/1ba7417ec09b43336af3050534d5f499de6b3040211b9e5c47df9ad3eb9e/django_fab_templates-0.1.1-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "e2ee1982e32d18511f95790fb9bfe8e6", "sha256": "119d2aa5dbd1f3b8c9839c0af9ddd3ecc48b0591f4ba2cff9ec44bb8c683d1f7" }, "downloads": -1, "filename": "django-fab-templates-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e2ee1982e32d18511f95790fb9bfe8e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 297499, "upload_time": "2011-05-23T23:59:03", "url": "https://files.pythonhosted.org/packages/01/63/2218f443cb1222356b4846dca07cd76b3b40da4f106d67f5f876b0cc33d8/django-fab-templates-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "35fe3af522fa65eb0b50b9ea0422b34b", "sha256": "15172522555e16ff44325af8aaca263a258dacb1fe02ee821628011338f0f888" }, "downloads": -1, "filename": "django_fab_templates-0.1.2-py2.6.egg", "has_sig": false, "md5_digest": "35fe3af522fa65eb0b50b9ea0422b34b", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 836094, "upload_time": "2011-06-01T00:10:37", "url": "https://files.pythonhosted.org/packages/c4/7a/2c27640c48d627d20ecc899a05bdb8ce5c41ea7f49653ed243558e4992af/django_fab_templates-0.1.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "87fcedbe1a3cbc3eeee11f9597e59aa0", "sha256": "32a3ee97ef2ac320aae2c763563f903247ba25c7063891001bd19be9d6744779" }, "downloads": -1, "filename": "django_fab_templates-0.1.2-py2.7.egg", "has_sig": false, "md5_digest": "87fcedbe1a3cbc3eeee11f9597e59aa0", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 835991, "upload_time": "2011-06-01T00:09:17", "url": "https://files.pythonhosted.org/packages/f9/e3/aa4c4c553d88ab2b5ace9cf5ee0ac28f1e8fc886f1c5eeca4a4b28358291/django_fab_templates-0.1.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "5e9f9a76a24f025bff0a3b688da7d6a9", "sha256": "18610a88b0e334e9f7ee6ba4a3c183b3ace688d1fe972acef3b8fb1e493f9a3c" }, "downloads": -1, "filename": "django-fab-templates-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5e9f9a76a24f025bff0a3b688da7d6a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 297668, "upload_time": "2011-06-01T00:06:45", "url": "https://files.pythonhosted.org/packages/08/ab/99dba8362b7f13cb193c5263cdf5544ee0549b49a28c1cb398578f58b6ef/django-fab-templates-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "35fe3af522fa65eb0b50b9ea0422b34b", "sha256": "15172522555e16ff44325af8aaca263a258dacb1fe02ee821628011338f0f888" }, "downloads": -1, "filename": "django_fab_templates-0.1.2-py2.6.egg", "has_sig": false, "md5_digest": "35fe3af522fa65eb0b50b9ea0422b34b", "packagetype": "bdist_egg", "python_version": "2.6", "requires_python": null, "size": 836094, "upload_time": "2011-06-01T00:10:37", "url": "https://files.pythonhosted.org/packages/c4/7a/2c27640c48d627d20ecc899a05bdb8ce5c41ea7f49653ed243558e4992af/django_fab_templates-0.1.2-py2.6.egg" }, { "comment_text": "", "digests": { "md5": "87fcedbe1a3cbc3eeee11f9597e59aa0", "sha256": "32a3ee97ef2ac320aae2c763563f903247ba25c7063891001bd19be9d6744779" }, "downloads": -1, "filename": "django_fab_templates-0.1.2-py2.7.egg", "has_sig": false, "md5_digest": "87fcedbe1a3cbc3eeee11f9597e59aa0", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 835991, "upload_time": "2011-06-01T00:09:17", "url": "https://files.pythonhosted.org/packages/f9/e3/aa4c4c553d88ab2b5ace9cf5ee0ac28f1e8fc886f1c5eeca4a4b28358291/django_fab_templates-0.1.2-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "5e9f9a76a24f025bff0a3b688da7d6a9", "sha256": "18610a88b0e334e9f7ee6ba4a3c183b3ace688d1fe972acef3b8fb1e493f9a3c" }, "downloads": -1, "filename": "django-fab-templates-0.1.2.tar.gz", "has_sig": false, "md5_digest": "5e9f9a76a24f025bff0a3b688da7d6a9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 297668, "upload_time": "2011-06-01T00:06:45", "url": "https://files.pythonhosted.org/packages/08/ab/99dba8362b7f13cb193c5263cdf5544ee0549b49a28c1cb398578f58b6ef/django-fab-templates-0.1.2.tar.gz" } ] }