{ "info": { "author": "Adam Charnock", "author_email": "adam@adamcharnock.com", "bugtrack_url": null, "classifiers": [], "description": "Swiftwind for Heroku Deployment\n===============================\n\nFor more details see the `Swiftwind project`_.\n\nInstallation\n------------\n\n.. image:: https://www.herokucdn.com/deploy/button.svg\n :target: https://heroku.com/deploy?template=https://github.com/adamcharnock/swiftwind-heroku\n\nEnvironment variables::\n\n # Should be setup automatically for you:\n SECRET_KEY=''\n DATABASE_URL='postgres://user:pasword@host/dbname'\n\n # If you are using HTTPS you may wish to set the following yourself:\n HTTPS=1 # Will ensure site is served over HTTPS only\n HSTS_SECONDS=100000 # Will enable HSTS, and set the seconds timeout\n HSTS_INCLUDE_SUBDOMAINS=1 # Apply HSTS to subdomains\n\nRequired Heroku Addons\n~~~~~~~~~~~~~~~~~~~~~~\n\nThe free plan for each of the following addons will be setup:\n\n* Postgres\n* Redis\n\nDokku\n~~~~~\n\nThis project is also designed to support deployment to dokku. To do so you will need:\n\n* A Postgres database (See `Postgres Dokku plugin`_)\n* A Redis server (`Redis Dokku plugin`_)\n\nYou can deploy as follows::\n\n # Get the repo\n git clone https://github.com/adamcharnock/swiftwind-heroku.git\n cd swiftwind-heroku\n\n # Create the app and set the config\n dokku apps:create swiftwind\n dokku config:set SECRET_KEY=random-string\n\n dokku postgres:create swiftwind\n dokku postgres:link swiftwind swiftwind\n\n dokku redis:create swiftwind\n dokku redis:link swiftwind swiftwind\n\n git push dokku\n dokku run ./manage.py migrate\n # Create a user you will use to login as\n dokku run ./manage.py createsuperuser\n # Set currency as you wish (GBP, EUR, USD etc)\n dokku run ./manage.py swiftwind_create_accounts --currency USD\n\nTroubleshooting\n~~~~~~~~~~~~~~~\n\nDjango does not display very helpful errors when deploying into production, and for good reason.\nHowever, you can enable debugging output to help fix any server errors you may see\nwhen accessing sentry in your browser::\n\n heroku config:set DEBUG=1\n heroku config:unset DEBUG\n\nYou can also view the server logs::\n\n heroku logs -t\n\nNote you can replace ``heroku`` with ``dokku`` in any of the above commands.\n\nCredits\n-------\n\nDeveloped by `Adam Charnock`_. I'm a freelance developer, so do get in touch if you have a project.\n\nswiftwind-heroku is packaged using seed_.\n\n.. _seed: https://github.com/adamcharnock/seed/\n.. _Swiftwind project: https://github.com/adamcharnock/swiftwind\n.. _Postgres Dokku plugin: https://github.com/dokku/dokku-postgres\n.. _Redis Dokku plugin: https://github.com/dokku/dokku-redis\n.. _Adam Charnock: https://adamcharnock.com", "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/adamcharnock/swiftwind-heroku", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "swiftwind-heroku", "package_url": "https://pypi.org/project/swiftwind-heroku/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/swiftwind-heroku/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/adamcharnock/swiftwind-heroku" }, "release_url": "https://pypi.org/project/swiftwind-heroku/0.2.0/", "requires_dist": null, "requires_python": null, "summary": "Swiftwind for Heroku Deployment", "version": "0.2.0" }, "last_serial": 2672112, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2ff22a87a02b780575bc8faa07ed118e", "sha256": "35baf52494d652cf518d3f2cdd302bf4a8728540b805fe8a279bebffa643c742" }, "downloads": -1, "filename": "swiftwind_heroku-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2ff22a87a02b780575bc8faa07ed118e", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8532, "upload_time": "2017-02-28T01:19:12", "url": "https://files.pythonhosted.org/packages/94/cd/bb82d10032f800ed94c4625969ac11edbe9803aade6206ec4c69925dee39/swiftwind_heroku-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "74a45478ac7c746e21487b90cac91908", "sha256": "de4f52fde00d074484e2c2445a9bcebbf2137e52749bb3139a0c6dad95cff56f" }, "downloads": -1, "filename": "swiftwind-heroku-0.1.0.tar.gz", "has_sig": false, "md5_digest": "74a45478ac7c746e21487b90cac91908", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6717, "upload_time": "2017-02-28T01:19:09", "url": "https://files.pythonhosted.org/packages/bc/e1/477ac6dfc5bcda7c836e74fd45e0bced862bd9e5b956db5d6754e3d48511/swiftwind-heroku-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "cf0a5c6b7e1d0e2316bed9223d410bc8", "sha256": "41214484aa6250398ec589db3d9e5b00f08736938a39e31048de604db9c362bb" }, "downloads": -1, "filename": "swiftwind_heroku-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "cf0a5c6b7e1d0e2316bed9223d410bc8", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8532, "upload_time": "2017-02-28T01:19:55", "url": "https://files.pythonhosted.org/packages/ca/74/1d21cfce128dbf82a58c8520cee0718e95c61cfd85e19620440bbec72335/swiftwind_heroku-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3382083f2a7b2fbdedc0028d9a645c13", "sha256": "285be1281f4e7489a0779a49107c37b9fbd323db82721bb37c634fc5402cd5ac" }, "downloads": -1, "filename": "swiftwind-heroku-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3382083f2a7b2fbdedc0028d9a645c13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6717, "upload_time": "2017-02-28T01:19:53", "url": "https://files.pythonhosted.org/packages/c4/1f/048d264e0a1f11a4a9e177527646f5e58461dad2dba793d7ecdb63631f3d/swiftwind-heroku-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cf0a5c6b7e1d0e2316bed9223d410bc8", "sha256": "41214484aa6250398ec589db3d9e5b00f08736938a39e31048de604db9c362bb" }, "downloads": -1, "filename": "swiftwind_heroku-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "cf0a5c6b7e1d0e2316bed9223d410bc8", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 8532, "upload_time": "2017-02-28T01:19:55", "url": "https://files.pythonhosted.org/packages/ca/74/1d21cfce128dbf82a58c8520cee0718e95c61cfd85e19620440bbec72335/swiftwind_heroku-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3382083f2a7b2fbdedc0028d9a645c13", "sha256": "285be1281f4e7489a0779a49107c37b9fbd323db82721bb37c634fc5402cd5ac" }, "downloads": -1, "filename": "swiftwind-heroku-0.2.0.tar.gz", "has_sig": false, "md5_digest": "3382083f2a7b2fbdedc0028d9a645c13", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6717, "upload_time": "2017-02-28T01:19:53", "url": "https://files.pythonhosted.org/packages/c4/1f/048d264e0a1f11a4a9e177527646f5e58461dad2dba793d7ecdb63631f3d/swiftwind-heroku-0.2.0.tar.gz" } ] }