Project Description

Underwear is a library for easily deploying any Python-powered web
application to one or more Linux servers. Underwear is configurable by
a YAML template and takes care of installing packages, configuring web/WSGI
servers, and securing the server.

What Problem Does Underwear Solve?

Despite the advent of configuration management tools such as
Puppet,
Chef,
Ansible, and
Salt, it remains difficult to deploy
a web application because you have to first learn one of those tools and
then write scripts in the tool’s domain-specific language.

Underwear makes deploying to a traditional Linux server stack as easy as
deploying to Heroku by providing a pre-packaged, easily configurable library.
Deployments can be executed simply by installing Underwear with
pip, specifying the
IP addresses of the server(s) to deploy to, then running a couple of commands.

Quick Start

After these ten steps your app should be completely configured,
secured, and deployed to remote servers.

These instructions will be simplied in future releases as the library
is further developed.

License and Documentation

About the Name “Underwear”

This library goes underneath your WSGI application to help you quickly deploy
it to traditional servers. Otherwise no one knows you’re using it, and you
can swap it out at any time for another deployment process when you outgrow
the standard LAMP-stack setup.

There also weren’t any projects on GitHub by the name of underwear that had
more than two stars and “underwear” was an open library name on PyPi :)

Features

Automated WSGI application deployments to a web & database server

Configurable via a simple YAML template

Support for ad hoc deployment needs without SSH-ing into remote servers

History

0.4.5 (2014-06-17)

Updated to work with the latest Ansible release under the covers (1.6.3).

Fixed a bug with evaluating conditional for postgresql backend.

Fixed issue where fail2ban wouldn’t be found on a system because the apt
cache was not updated.