We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent deb2e26 commit 4a72d96Copy full SHA for 4a72d96
stuff.rb
@@ -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