Step by step
$ git clone email@example.com:arachnys/cabot.git # Clone the repo $ cd cabot
Add your keys for external services to
production.env.exampleas a template:
$ cp conf/production.env.example conf/production.env
Spin up a new VPS instance (on e.g. AWS or DigitalOcean) - you can create a new DigitalOcean “droplet” from the command line via
tugboat(NB tugboat command line arguments seem a little unstable, so if you get an error, you may have to change them)
$ tugboat create cabot --size=2gb --image=ubuntu-12-04-x64 --region=nyc1 # create a new droplet called `cabot` with 1GB of memory running Ubuntu 12.04 in New York region # --image and --size arguments seem to change, see tugboat docs for details
Provision the newly-created VPS using Fabric
$ fab provision -H firstname.lastname@example.org # This will: # * install dependencies on the new server # * create a new `ubuntu` user that will be able to connect over SSH (for API compatibility with Amazon's Ubuntu AMIs).
Deploy to the provisioned server:
$ fab deploy -H email@example.com # NB using `ubuntu` not `root` as above # Will prompt you to create a Django superuser which you'll use to log in via web and create additional users.
Create a user account:
$ fab -H firstname.lastname@example.org create_user:"username,password,email"
Navigate in web browser to
your.server.hostname, log in as superuser, and create your first
Checks using the web interface.
(Optional) get woken up at 3 a.m. by an automated phone call telling you the server you’re monitoring has crashed.
Currently provisioning is done by the