Cloning a new environment (AWS) - roberttdev/dactyl4 GitHub Wiki

(Incomplete)

When creating a new environment in the stack (currently Dev, Staging, and Production), many files need to be updated so that the correct config is pulled. This is assuming you clone the initial environment from an existing instance in AWS.

  1. /etc/init.d/autostart.local: Update environment parameter for SOLR/CloudCrowd autostart
  2. Wipe CloudCrowd DB: sqlite3 cloud_crowd.db delete from work_units; delete from node_records; .quit
  3. If necessary, add S3 ref to lib/dc/store/aws_s3_store.rb
  4. Add new entry to: config/document_cloud.yml config/database_analytics.yml config/secrets.yml config/sunspot.yml
  5. If using update_code.sh, update environment parameters
  6. Update env reference in Nginx conf
  7. Modify DB name to dcloud_(envname)