File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # dependency-postgresql
1+ # dependency-postgresql
2+
3+ ## Installation
4+
5+ ./install.sh
6+
7+ ## Initial deployment notes:
8+
9+ sudo yum install http://yum.postgresql.org/9.4/redhat/rhel-6-x86_64/pgdg-ami201503-94-9.4-1.noarch.rpm
10+ sudo yum install -y postgresql94
11+ sudo yum install -y git
12+ sudo yum install -y ruby
13+
14+ Install https://github.com/mbryzek/schema-evolution-manager
15+
16+ echo "dependency.crqe2ozpjr64.us-east-1.rds.amazonaws.com:5432:dependency:api:PASSWORD" > ~/.pgpass
17+ chmod 0600 ~/.pgpass
18+
19+ cd /web/dependency/schema
20+ sem-dist
21+ scp -i /web/keys/ssh/mbryzek-key-pair-us-east.pem dist/schema-0.0.1.tar.gz ec2-user@ADDRESS:~/
22+ ssh -i /web/keys/ssh/mbryzek-key-pair-us-east.pem ec2-user@54.175.54.172
23+ tar xfz schema-*.tar.gz
24+ cd schema-*
25+
26+ sem-apply --user api --host TODO.rds.amazonaws.com --name dependency
27+
You can’t perform that action at this time.
0 commit comments