Skip to content

Commit 4a72d96

Browse files
committed
stuff
1 parent deb2e26 commit 4a72d96

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

stuff.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# create database
2+
3+
psql -h XXX.eu-central-1.rds.amazonaws.com -U postgres
4+
create role chief with createdb login password 'password';
5+
RAILS_ENV=production bin/rails db:create
6+
7+
h pg:backups:download
8+
pg_restore --verbose --clean --no-acl --no-owner -h XXX.eu-central-1.rds.amazonaws.com -U chief -d rubydocs_production latest.dump

0 commit comments

Comments
 (0)