{ "info": { "author": "Matt Makai", "author_email": "matthew.makai@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7" ], "description": "===============================\nUnderwear\n===============================\n\n.. image:: https://badge.fury.io/py/underwear.png\n :target: http://badge.fury.io/py/underwear\n \n.. image:: https://travis-ci.org/makaimc/underwear.png?branch=master\n :target: https://travis-ci.org/makaimc/underwear\n\n\nUnderwear is a library for easily deploying any Python-powered web \napplication to one or more Linux servers. Underwear is configurable by\na YAML template and takes care of installing packages, configuring web/WSGI\nservers, and securing the server.\n\n\nWhat Problem Does Underwear Solve?\n----------------------------------\nDespite the advent of configuration management tools such as \n`Puppet `_,\n`Chef `_, \n`Ansible `_, and \n`Salt `_, it remains difficult to deploy\na web application because you have to first learn one of those tools and\nthen write scripts in the tool's domain-specific language.\n\nUnderwear makes deploying to a traditional Linux server stack as easy as \ndeploying to Heroku by providing a pre-packaged, easily configurable library. \nDeployments can be executed simply by installing Underwear with \n`pip `_, specifying the\nIP addresses of the server(s) to deploy to, then running a couple of commands.\n\n\nQuick Start\n-----------\nAfter these ten steps your app should be completely configured, \nsecured, and deployed to remote servers. \n\n*These instructions will be simplied in future releases as the library\nis further developed*.\n\n1. Install Underwear to your \n `virtualenv `_:: \n\n pip install underwear\n\n2. Add 'underwear' to INSTALLED_APPS in your Django\n project. *Underwear currently only supports Django (Flask and Bottle \n will be added in the 0.5 release).* \n\n3. Create a deploy directory under your Django project::\n\n mkdir deploy; cd deploy\n\n\n4. Download the Fabric file for uploading SSH keys, YAML configuration \n template, and hosts file to your project under the deploy/ directory::\n\n wget https://raw.github.com/makaimc/underwear/master/underwear/deploy/fabfile.py\n wget https://raw.github.com/makaimc/underwear/master/underwear/deploy/underwear.yml\n wget https://raw.github.com/makaimc/underwear/master/underwear/deploy/hosts\n\n5. Fill in blank variables fields in **fabfile.py**.\n\n6. Execute the Fabric script (the script will prompt you for the non-root \n password)::\n \n fab bootstrap_ansible\n\n7. Fill in blank fields and modify desired settings in the **underwear.yml**\n file so that Underwear knows where to install your web application.\n\n8. Fill in the **hosts** file with your servers' IP addresses. For example,\n the file may look like the following::\n \n [webservers]\n 192.168.1.1\n\n [dbservers]\n 192.168.1.2\n\n8. Deploy your application::\n\n python manage.py deploy\n\n9. Underwear will output each step in the deployment process to standard\n output as it happens.\n\n10. Access your application from the domain name you provided in the \n underwear.yml file.\n\n\nLicense and Documentation\n-------------------------\nUnderwear is free software under the MIT license. \n\nAdditional Underwear documentation can be found on \n`Read the Docs `_.\n\n\nAbout the Name \"Underwear\"\n--------------------------\nThis library goes underneath your WSGI application to help you quickly deploy\nit to traditional servers. Otherwise no one knows you're using it, and you\ncan swap it out at any time for another deployment process when you outgrow\nthe standard LAMP-stack setup.\n\nThere also weren't any projects on GitHub by the name of underwear that had\nmore than two stars and \"underwear\" was an open library name on PyPi :)\n\n\nFeatures\n--------\n* Automated WSGI application deployments to a web & database server\n* Configurable via a simple YAML template\n* Support for ad hoc deployment needs without SSH-ing into remote servers\n\n\n\n\n\n\nHistory\n-------\n\n0.4.5 (2014-06-17)\n++++++++++++++++++\n* Updated to work with the latest Ansible release under the covers (1.6.3).\n* Fixed a bug with evaluating conditional for postgresql backend.\n* Fixed issue where fail2ban wouldn't be found on a system because the apt\n cache was not updated.\n\n0.4.4 (2014-01-05)\n++++++++++++++++++\n* Changing Django management command defaults to deploy directory within the\n project instead of your ~/.ssh key directory.\n* New option in underwear.yml to deploy to MySQL or PostgreSQL.\n\n\n0.4.3 (2014-01-02)\n++++++++++++++++++\n* Adding toggle for whether South should be used with a Django project \n (django_use_south) and a toggle for whether a fixtures file should be\n loaded (django_fixtures_file).\n\n\n0.4.2 (2013-12-30)\n++++++++++++++++++\n* Added toggle to flip whether or not SSL should be used with Nginx \n (deploy_ssl).\n\n\n0.4.0 (2013-12-26)\n++++++++++++++++++\n* Release now allows for 2 server web app deployments (one web server and\n one database server).\n* Fixes issues with Supervisor template and Django environment variables.\n* Includes templates required to tell the library where to deploy the \n application.\n\n\n0.3.0 (2013-12-24)\n++++++++++++++++++\n* First release on PyPI.\n\n\n0.2.0 (2013-12-16)\n++++++++++++++++++\n* Added initial working Ansible scripts for deployment.\n\n\n0.1.0 (2013-12-16)\n++++++++++++++++++\n* Initial codebase with Python package", "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/makaimc/underwear", "keywords": "underwear,deployment,django,LAMP,WSGI,ansible", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "underwear", "package_url": "https://pypi.org/project/underwear/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/underwear/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/makaimc/underwear" }, "release_url": "https://pypi.org/project/underwear/0.4.5/", "requires_dist": null, "requires_python": null, "summary": "Dead simple LAMP-stack deployments for Python-powered web applications", "version": "0.4.5" }, "last_serial": 1128245, "releases": { "0.3.0": [ { "comment_text": "", "digests": { "md5": "b927dd15b3ce85ea7fcbd2a083b0e2de", "sha256": "adec77f03476f58c85878199e75dbd7875b169054ac8f0eb42814695d1272277" }, "downloads": -1, "filename": "underwear-0.3.0.tar.gz", "has_sig": false, "md5_digest": "b927dd15b3ce85ea7fcbd2a083b0e2de", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18976, "upload_time": "2013-12-24T19:41:39", "url": "https://files.pythonhosted.org/packages/12/aa/0daea1135a47ae1d2f76ca753fdb73a5d336a05721eae45036c9347dabbc/underwear-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "d922e16423769301d8d60a5b879f9658", "sha256": "1f1c6b07ae7e097fc7e8f99542adf51229a86aeea1d6396e5751fe400f5308d4" }, "downloads": -1, "filename": "underwear-0.4.0.tar.gz", "has_sig": false, "md5_digest": "d922e16423769301d8d60a5b879f9658", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21395, "upload_time": "2013-12-26T20:06:59", "url": "https://files.pythonhosted.org/packages/12/35/ac24cff15acc473434ce99d9212a024934852e5e374cc5ea9f2c7d30dd78/underwear-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "24823a24d94f971dc3aa9653fccc304c", "sha256": "4a7a0d773df412ec43ab92dac23c09d73bf45df3fc2fcc908838844553a2d137" }, "downloads": -1, "filename": "underwear-0.4.1.tar.gz", "has_sig": false, "md5_digest": "24823a24d94f971dc3aa9653fccc304c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21637, "upload_time": "2013-12-30T01:48:15", "url": "https://files.pythonhosted.org/packages/b9/0d/adcfc2aa0b08c703ae7055f8a3f4d4df16012280ea54a9e43fafc8a97c52/underwear-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "ce3441d07bae3628de3787c4a5ad90bf", "sha256": "3eb9d97fe945d86cf81b4605a2f844906a0a6c5f083bb5f92b6bd503ad4749d9" }, "downloads": -1, "filename": "underwear-0.4.2.tar.gz", "has_sig": false, "md5_digest": "ce3441d07bae3628de3787c4a5ad90bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21736, "upload_time": "2013-12-30T15:05:08", "url": "https://files.pythonhosted.org/packages/2c/9a/8bb195477d051b06102e784f3bb6b1ad77a053c689e77a2daba4f11e9ad3/underwear-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "deb670c4af307df578dd14061fcfa026", "sha256": "fc5ad3fd4acbe17ae4544dd194062cf4572a67cf3247e46907c8d0b0ec5c94a6" }, "downloads": -1, "filename": "underwear-0.4.3.tar.gz", "has_sig": false, "md5_digest": "deb670c4af307df578dd14061fcfa026", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22257, "upload_time": "2014-01-02T21:45:21", "url": "https://files.pythonhosted.org/packages/12/19/59eafb59ed80a20fcdda64734372b362784ddcf98c5e285dd7b935e6d39a/underwear-0.4.3.tar.gz" } ], "0.4.5": [ { "comment_text": "", "digests": { "md5": "7f4be309ff3eba2090290b0c0b461549", "sha256": "d8f24642097713a1114584c54e23179e0cbeaf2f1eff89edde37cfc23b6d40ad" }, "downloads": -1, "filename": "underwear-0.4.5.tar.gz", "has_sig": false, "md5_digest": "7f4be309ff3eba2090290b0c0b461549", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22909, "upload_time": "2014-06-17T22:41:08", "url": "https://files.pythonhosted.org/packages/c0/5a/c5ed3841694caa5b1961fdb43b0a927c04fbc960a472105123f95cdea332/underwear-0.4.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7f4be309ff3eba2090290b0c0b461549", "sha256": "d8f24642097713a1114584c54e23179e0cbeaf2f1eff89edde37cfc23b6d40ad" }, "downloads": -1, "filename": "underwear-0.4.5.tar.gz", "has_sig": false, "md5_digest": "7f4be309ff3eba2090290b0c0b461549", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22909, "upload_time": "2014-06-17T22:41:08", "url": "https://files.pythonhosted.org/packages/c0/5a/c5ed3841694caa5b1961fdb43b0a927c04fbc960a472105123f95cdea332/underwear-0.4.5.tar.gz" } ] }