Skip to content

Latest commit

 

History

History
63 lines (48 loc) · 1.42 KB

File metadata and controls

63 lines (48 loc) · 1.42 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

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