Skip to content

Latest commit

 

History

History
68 lines (52 loc) · 1.56 KB

README.md

File metadata and controls

68 lines (52 loc) · 1.56 KB

Build Status

drawing

Contributing

Spinning [dev|stage] environment

Global Prerequisites
  • python 3
  • vagrant
  • vagrant plugin: vagrant-env
  • Use `.env.local` file for configuration keys which overrides `.env`

DEV environment

Prerequisites
  • VirtualBox
  • Verify /vault directory exists and is writable
  • Install the following packages:
  • virtualbox
  • fabric3
  • docker-compose

STAGE environment

Prerequisites
  • AWS account
  • AWS credentials: access key & access secret
  • keypair
  • subnet ID
  • Security Group with inbound ports for SSH (22), HTTP (80), HTTPS (443), and 8200
  • AWS S3 Bucket
Spin environment
  ./spin.py up [dev|stage]
SSH the environment
  vagrant ssh [dev|stage]
Don't forget to destroy the environment when you done to avoid unnecessary charges !!!
  ./spin.py destroy [dev|stage]

Notes

  • Do not use vagrant directly to spin and environment. It might work, but most likely it won't