Skip to content
This repository was archived by the owner on Oct 17, 2020. It is now read-only.

Latest commit

 

History

History
17 lines (13 loc) · 1.21 KB

File metadata and controls

17 lines (13 loc) · 1.21 KB

ansible-swsheets

Provisioning and Deployment for swsheets. This was done against DigitalOcean but any brand-new Ubuntu trusty release should work.

Even if you aren’t using SWSheets (although how couldn’t you?!), please feel free to use this as an example on provisioning, deploying, and running Elixir Phoenix applications.

Usage

  1. Clone this repository
  2. Run ansible-galaxy install -r requirements.yml
  3. Add your server information to an Ansible inventory file called “production”
  4. Make a copy of group_vars with appropriate values and encrypting it with Ansible Vault.
  5. Run through the steps in docs/initial_setup.md (Sorry, I haven't bothered to put that initial setup in Ansible yet!)
  6. Run script/provision
  7. When you want to deploy, run script/deploy

License

All work within this repo is released under a Creative Commons Attribution-NonCommercial 3.0 United States license. Essentially you are welcome to do what you like with this as long as you provide attribution and don’t charge for it.