{ "info": { "author": "Yuri Prezument", "author_email": "y@yprez.com", "bugtrack_url": null, "classifiers": [], "description": "===============\ndjango-sitepush\n===============\n\nRedeploy Django projects using management commands\n\n\nWhat does it do?\n----------------\n\nUsing Fabric to run a management command on each remote instance to redeploy\nitself.\n\nThe remote command will pull the source code from Git, run all necessary Django\nmanagement commands, and restart the server.\n\nIt's intended for small to medium scale apps.\n\n\nWhy not just write a Fabric script?\n-----------------------------------\n\nIt's faster. When the you run everything remotely it only takes about 10\nseconds to deploy an instance.\n\n\nWhat commands will run?\n-----------------------\n\n- ``git pull``\n- ``pip install -r requirements.txt``\n- ``syncdb``\n- ``migrate``\n- ``collectstatic``\n- ``restart server (webserver dependent)``\n\n\n\nRequirements\n============\n\n- A deployed instance running either:\n - Apache with mod_WSGI\n - GUnicorn\n- Fabric\n- A virtualenv dedicated to the project.\n- A Git hosted repository for the project\n\n\n\nInstallation\n============\n\nAdd the app to your ``INSTALLED_APPS`` setting::\n\n INSTALLED_APPS = (\n #...\n 'sitepush',\n )\n\n\nSettings\n========\n\nAdd the server configuration to your settings file::\n\n DEPLOYS = {\n 'default': {\n 'HOST': '192.168.0.1', # IP or domain name\n 'USER': 'user', # User to login with\n 'BRANCH': 'master', # Git branch to pull updates from\n 'SETTINGS': 'settings', # Settings file to use (optional)\n 'DIR': '/var/www/myproject/',\n 'ENV': 'myvirtualenv', # virtualenv used in the project\n 'WEBSERVER': 'gunicorn', # webserver - 'apache' or 'gunicorn'\n\n 'PID_FILE': '/tmp/gunicorn.pid', # Gunicorn pid file path\n 'WSGI_FILE': 'deploy/wsgi.py', # Apache wsgi file path\n },\n }\n\nThe ``PID_FILE`` / ``WSGI_FILE`` settings should be set depending on the web\nserver you're using.\n\n``BRANCH`` is optional and defaults to ``master``\n\n\nUsage\n=====\n\n::\n\n python manage.py deploy_remote default\n\n # Or\n python manage.py deploy_remote srv1 srv2 #...'\n\n # Don't install requirements:\n python manage.py deploy_remote default --noreqs\n\n # Deploy all remote instances:\n python manage.py deploy_remote --all", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/yprez/django-sitepush", "keywords": null, "license": "ISC", "maintainer": null, "maintainer_email": null, "name": "django-sitepush", "package_url": "https://pypi.org/project/django-sitepush/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-sitepush/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/yprez/django-sitepush" }, "release_url": "https://pypi.org/project/django-sitepush/0.1/", "requires_dist": null, "requires_python": null, "summary": "Redeploy Django projects using management commands", "version": "0.1" }, "last_serial": 727837, "releases": { "0.0.1dev1": [ { "comment_text": "", "digests": { "md5": "0e49902958a56a48e4861eb7c1299a75", "sha256": "a23d59d370ce7c659ae2b8710cc1da238fc79c8d0e05fb06cd57f40bf78e2c34" }, "downloads": -1, "filename": "django-sitepush-0.0.1dev1.tar.gz", "has_sig": false, "md5_digest": "0e49902958a56a48e4861eb7c1299a75", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3187, "upload_time": "2012-01-17T20:36:57", "url": "https://files.pythonhosted.org/packages/9b/6e/051735e04edd6683a3aecea81fc8257e394be1fe69841bc37a3f5d2ee56f/django-sitepush-0.0.1dev1.tar.gz" } ], "0.0.1dev2": [ { "comment_text": "", "digests": { "md5": "76d85217ce712dc586e48ff7edc8c914", "sha256": "ba0419286393295607eb969da382689d58a96c6ad66ed25e7b0078b4c9a413ac" }, "downloads": -1, "filename": "django-sitepush-0.0.1dev2.tar.gz", "has_sig": false, "md5_digest": "76d85217ce712dc586e48ff7edc8c914", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3188, "upload_time": "2012-01-17T20:43:52", "url": "https://files.pythonhosted.org/packages/c9/5b/98c41c4d32e9610fa4370bfd3df811dfa57d85f2e9dfddab951504786afd/django-sitepush-0.0.1dev2.tar.gz" } ], "0.0.1dev3": [ { "comment_text": "", "digests": { "md5": "d4c3ebb61daa07c096541f0c7661ce99", "sha256": "c4fd56ec62c9c7627eec850b6441651c5b9d8d79134ea225f854efe2e595066d" }, "downloads": -1, "filename": "django-sitepush-0.0.1dev3.tar.gz", "has_sig": false, "md5_digest": "d4c3ebb61daa07c096541f0c7661ce99", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3617, "upload_time": "2012-01-17T21:42:03", "url": "https://files.pythonhosted.org/packages/14/6b/35edd591d33ef7526e309930057801d9e31550ac1ab67fe1d1e8b8bff811/django-sitepush-0.0.1dev3.tar.gz" } ], "0.1": [ { "comment_text": "", "digests": { "md5": "19f108afb765b8ddb87fa3eb6bb3fe7b", "sha256": "7409119fa58d061d2f64a35a39581122be8465b8067040e3fd168f1aaf4ebfcd" }, "downloads": -1, "filename": "django-sitepush-0.1.tar.gz", "has_sig": false, "md5_digest": "19f108afb765b8ddb87fa3eb6bb3fe7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4272, "upload_time": "2012-06-09T22:02:29", "url": "https://files.pythonhosted.org/packages/16/6e/208eb98246c6ba36376d9bf5421014a22bce0634b57bf0be88a537728ec1/django-sitepush-0.1.tar.gz" } ], "0.1dev1": [ { "comment_text": "", "digests": { "md5": "55456af2d25b6113322e8b6014ae2490", "sha256": "0a3ef6bafbb55d82caf66a47d4dfabf96729b1f539d71d27af2ce820a8eb2920" }, "downloads": -1, "filename": "django-sitepush-0.1dev1.tar.gz", "has_sig": false, "md5_digest": "55456af2d25b6113322e8b6014ae2490", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4264, "upload_time": "2012-02-04T11:55:28", "url": "https://files.pythonhosted.org/packages/1f/a3/922055fbb9a64adf79b50207342bcf36d806941a4bed7c07beef82f760ea/django-sitepush-0.1dev1.tar.gz" } ], "0.1dev2": [ { "comment_text": "", "digests": { "md5": "0de8d89f7d9e19ac1a6cbec607f218db", "sha256": "73e9b9c827ebe2035fbe9fcd9f99a5ccc0820334b6af4d3f1bf142130cfaaa66" }, "downloads": -1, "filename": "django-sitepush-0.1dev2.tar.gz", "has_sig": false, "md5_digest": "0de8d89f7d9e19ac1a6cbec607f218db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4254, "upload_time": "2012-02-06T20:21:24", "url": "https://files.pythonhosted.org/packages/a8/99/22ff223129cd00ec124f4737cac22e600c8bc796e66103c6974fd132b344/django-sitepush-0.1dev2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "19f108afb765b8ddb87fa3eb6bb3fe7b", "sha256": "7409119fa58d061d2f64a35a39581122be8465b8067040e3fd168f1aaf4ebfcd" }, "downloads": -1, "filename": "django-sitepush-0.1.tar.gz", "has_sig": false, "md5_digest": "19f108afb765b8ddb87fa3eb6bb3fe7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4272, "upload_time": "2012-06-09T22:02:29", "url": "https://files.pythonhosted.org/packages/16/6e/208eb98246c6ba36376d9bf5421014a22bce0634b57bf0be88a537728ec1/django-sitepush-0.1.tar.gz" } ] }