{ "info": { "author": "Pavel Zhukov", "author_email": "gelios@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Django-Webfaction\n=================\n\nCollection of tools to run django on webfaction more seamless\n\nInstallation:\n=============\n\n* Install with pip or easy install (pip install django-webfaction)\n\n\nUsage:\n======\n\nConsole utility\n---------------\n\nDjango webfaction contains ``webfactionctl`` utility that can be used to control your webfaction services from command-line.\n\n1. You get access to basic commands like a list machines/apps/databases/ips/.. and crate apps and databases.\n For example to get list of your current dbs just run::\n\n webfactionctl list_dbs\n\n2. You can get extended info of your machines with current RAM usage, apps and processes with ``state`` command::\n\n $ webfactionctl state\n Query machines list...\n Query apps list...\n Query machine state detail: Web210 Web217 Web223 Web317 Web327\n +-----------+------------------+--------+--------------------+-----------+---------------+-----+\n | ram_usage | operating_system | name | location | app_count | process_count | id |\n +===========+==================+========+====================+===========+===============+=====+\n | 209708 | Centos5-32bit | Web210 | Europe (Amsterdam) | 19 | 20 | 376 |\n +-----------+------------------+--------+--------------------+-----------+---------------+-----+\n | 43112 | Centos5-32bit | Web217 | Europe (Amsterdam) | 2 | 7 | 386 |\n +-----------+------------------+--------+--------------------+-----------+---------------+-----+\n | 175352 | Centos5-32bit | Web223 | Europe (Amsterdam) | 12 | 17 | 395 |\n +-----------+------------------+--------+--------------------+-----------+---------------+-----+\n | 8220 | Centos6-64bit | Web317 | Europe (Amsterdam) | 6 | 7 | 445 |\n +-----------+------------------+--------+--------------------+-----------+---------------+-----+\n | 66092 | Centos6-64bit | Web327 | Europe (Amsterdam) | 2 | 9 | 462 |\n +-----------+------------------+--------+--------------------+-----------+---------------+-----+\n\nDjango deployment wizard\n------------------------\n\nWith ``webfactionctl stup_django_project`` you can run django deployment wizard that:\n\n1. Prepare server by installing pip, virtualenv, gunicorn, django-webfaction globally for your account.\n2. Create main app for your project\n3. Setup virtualenv for your main project\n4. Prepare gunicorn contorl script for your project\n5. Create static app for your project\n6. Prepare settings_local for your project\n\nSending mail from local sendmail asynchronous\n---------------------------------------------\n\nThere is a fail in webfaction deployment, when there is no sendmail server\nrunning on localhost, only smtp server in US. For apps runned in Europe\nsending a mail from stmp.webfaction.com or running local sendmail process\ntakes >1.2 seconds that definately require asynchronous system.\n\nTo use asychronous message sending system just add this line to your django settings file::\n\n EMAIL_BACKEND = 'webfaction.backends.EmailBackend'\n\n\nAccessing REMOTE_ADDR from django\n---------------------------------\n\nWhen a Django application\u2019s Apache instance proxies requests to Django,\nthe REMOTE_ADDR header is not set with the clients\u2019s IP address.\nAdding this `webfaction.middleware.WebFactionFixes` to your MIDDLEWARE_CLASSES\nreplace REMOTE_ADDR with correct client's IP.\n\nIf you use classic method to modify deployed settings by putting::\n\n try:\n from settings_local import *\n except ImportError:\n pass\n\nat the end of settings.py file, you can put this code to settings_local::\n\n MIDDLEWARE_CLASSES = (\n 'webfaction.middleware.WebFactionFixes',\n ) + MIDDLEWARE_CLASSES", "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/hovel/django-webfaction", "keywords": "webfaction,django", "license": "GPL", "maintainer": null, "maintainer_email": null, "name": "django-webfaction", "package_url": "https://pypi.org/project/django-webfaction/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-webfaction/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hovel/django-webfaction" }, "release_url": "https://pypi.org/project/django-webfaction/2.0.1/", "requires_dist": null, "requires_python": null, "summary": "Collection of tools to run django on webfaction more seamless", "version": "2.0.1" }, "last_serial": 791019, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "b8ded4155f5f75b57cdca87deedaf42a", "sha256": "ff0b5ae960b8193ee9fd17112a5c47ad1d150e83f3163eed42a12da398e6cd86" }, "downloads": -1, "filename": "django-webfaction-1.0.tar.gz", "has_sig": false, "md5_digest": "b8ded4155f5f75b57cdca87deedaf42a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2303, "upload_time": "2011-08-12T13:15:53", "url": "https://files.pythonhosted.org/packages/f9/0f/86b59cd9929400f5d5babf252c92345b187c8dbdb82a1c2ff4ad47f12956/django-webfaction-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "00375e24a736dc9143237f8509740d68", "sha256": "4271405cf661c5d4632475eed0ac8f90bce58a17818847d9175009bc9e603ff0" }, "downloads": -1, "filename": "django-webfaction-1.1.tar.gz", "has_sig": false, "md5_digest": "00375e24a736dc9143237f8509740d68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2302, "upload_time": "2011-08-12T13:17:30", "url": "https://files.pythonhosted.org/packages/91/0c/e179c9040e8e6b69abc2b5df825ed428c7397f45bf7f116c2bf3594a8074/django-webfaction-1.1.tar.gz" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "23b0c8ca92946595c029b5823dfb04ac", "sha256": "81d98ea849efe2ce07ee0a9481ffaa568692778817edc16d4ac5d5e2419f4b02" }, "downloads": -1, "filename": "django-webfaction-1.2.tar.gz", "has_sig": false, "md5_digest": "23b0c8ca92946595c029b5823dfb04ac", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2317, "upload_time": "2011-08-12T13:23:57", "url": "https://files.pythonhosted.org/packages/cf/86/bf4a6d00b9c0a668a77aeb1ce292532da8ea5b28c411e5da2b8b469b12bd/django-webfaction-1.2.tar.gz" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "7abd9e0e9cad0aa76776d3bb98e20b15", "sha256": "5cdbcfc02b80bad1a5fca22b82bae92dfeb28a20faa95576329ae6c9b15ec0bf" }, "downloads": -1, "filename": "django-webfaction-1.4.tar.gz", "has_sig": false, "md5_digest": "7abd9e0e9cad0aa76776d3bb98e20b15", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2548, "upload_time": "2011-08-12T14:48:43", "url": "https://files.pythonhosted.org/packages/21/9c/526c8ca1f729ce2bacfa061f0de23c4ae072f6d63581aec0137e5f1bdd77/django-webfaction-1.4.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "1cfd7d89fc8d1601362981d8a4bbcf39", "sha256": "ec6f14f0f34ce2065eadb8d74db82baa203cee4b023ba76d18ca49cb1717cfd7" }, "downloads": -1, "filename": "django-webfaction-2.0.tar.gz", "has_sig": false, "md5_digest": "1cfd7d89fc8d1601362981d8a4bbcf39", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3815, "upload_time": "2012-03-23T00:04:54", "url": "https://files.pythonhosted.org/packages/f6/c4/5c7a1fa4ced091e8b49793ffe23a896e523c7a12acec4e7e21972a1c8b2a/django-webfaction-2.0.tar.gz" } ], "2.0.1": [ { "comment_text": "", "digests": { "md5": "dd2d91b0ff3607de0bb52943e87edf6e", "sha256": "6b86f68cc46295862d187b0078766ae280577bd0d8c7447267272c6c2946cc7c" }, "downloads": -1, "filename": "django-webfaction-2.0.1.tar.gz", "has_sig": false, "md5_digest": "dd2d91b0ff3607de0bb52943e87edf6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3816, "upload_time": "2012-03-23T00:06:02", "url": "https://files.pythonhosted.org/packages/72/16/fa951e2c081cbf9d176369b578beaa69f8fd86fc03187c27522f44217073/django-webfaction-2.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dd2d91b0ff3607de0bb52943e87edf6e", "sha256": "6b86f68cc46295862d187b0078766ae280577bd0d8c7447267272c6c2946cc7c" }, "downloads": -1, "filename": "django-webfaction-2.0.1.tar.gz", "has_sig": false, "md5_digest": "dd2d91b0ff3607de0bb52943e87edf6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3816, "upload_time": "2012-03-23T00:06:02", "url": "https://files.pythonhosted.org/packages/72/16/fa951e2c081cbf9d176369b578beaa69f8fd86fc03187c27522f44217073/django-webfaction-2.0.1.tar.gz" } ] }