staging url: http://account-staging-zpbsmunavw.elasticbeanstalk.com/reset
prod beanstalk url: http://account-prod-pdkvqqumsr.elasticbeanstalk.com/reset
prod public url https://account.hello.is/
- staging is only accessible via SSH/HTTP from: 199.87.82.114/32 (office IP)
- prod is only accessible via SSH from: 199.87.82.114/32 (office IP)
Things usually work better in virtualenv, so please make sure you use one.
- put all your AWS credentials in the right place, usually in
~/.elasticbeanstalk/aws\_credential\_file
with
AWSAccessKeyId=<your access key id>
AWSSecretKey=<your secret>
- download the EB tool from AWS
- unzipping the download, you need to set the path to the
eb
command.
export PATH=$PATH:<path to unzipped EB CLI package>/eb/macosx/python2.7
- Run
sh <path to unzipped EB CLI package>/AWSDevTools/Linux/AWSDevTools-RepositorySetup.sh
- git clone this repo.
- create
config
in.elasticbeanstalk
(get template from Tim) - replace
OptionSettingFile=/Users/tim/codebin/envs/passwordreset/.elasticbeanstalk/optionsettings.account-prod
in.elasticbeanstalk/config
with your own path. - git checkout staging
- Do work
- git commit -m"blah"
- git aws.push to push to staging
To push to prod, same as above but from master.
- Find a better way to commit the config without personal environment path