Skip to content

Commit b1d9d84

Browse files
committed
Update README
1 parent d0c313c commit b1d9d84

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
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+

0 commit comments

Comments
 (0)