Setting up Dokku with DigitalOcean and Namecheap
..or how I made my own heroku in a few hours for $3.98.
| #!/bin/bash | |
| # | |
| # This is the script responsible for updating our Puppet master data, | |
| # which includes modules, manifests, hiera data, etc. All of this data is | |
| # managed in a git repository and upon "deploy" it is synced into the Puppet | |
| # master. | |
| # | |
| # This script mirrors the remote git repository, looking for branches that | |
| # match "env-*" (such as "env-production" or "env-test"). Each of these branches | |
| # is setup as an environment into the Puppet master's data files. The |
| Install XCode & Command Line Tools | |
| curl -O http://python-distribute.org/distribute_setup.py | |
| sudo python distribute_setup.py | |
| sudo easy_install pip | |
| sudo pip install virtualenvwrapper |
| *~ | |
| *.pyc | |
| .vagrant | |
| venv |