Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
ccjmne committed Jul 2, 2017
2 parents dd1fda3 + 7474978 commit 98c6aab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions ec2-ubuntu/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ pip install --upgrade awscli
aws ec2 describe-tags --filters "Name=resource-id,Values=`curl -s http://169.254.169.254/latest/meta-data/instance-id`" --region eu-west-1 > .ec2-instance-tags
apt-get install -y jq
export CLIENT_ID=`jq --raw-output ".Tags[] | select(.Key==\"clientid\") | .Value" .ec2-instance-tags`
echo "export CLIENT_ID=${CLIENT_ID}" > ~/.bash_profile
printf "===============================================================================\n\
${__NF} Setting up Orca for client: \033[1;34m${CLIENT_ID:?}\033[0m\
\n===============================================================================\n"
Expand Down
3 changes: 2 additions & 1 deletion ec2-ubuntu/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,6 @@ sudo docker stop orca || true && sudo docker rm orca || true
sudo docker run -it -d --memory=420m --restart=on-failure:2 -p=8080:8080 --name=orca --env-file orca.conf 424880512736.dkr.ecr.eu-west-1.amazonaws.com/orca:latest

printf "===============================================================================\n\
${__OK} All done. Servers are up and running.\
${__OK} All done. Servers are up and running.\n\
${__NF} Available at: \033[4;97mhttps://\033[1;34m${CLIENT_ID}\033[0;4;97m.orca-solution.com\033[0m\
\n===============================================================================\n"

0 comments on commit 98c6aab

Please sign in to comment.