blob: 88d4b8d962ddbab0c234da21593fc7dffdee0a0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
cd /srv/leap-webapp
# use admin credentials
cp config/couchdb.yml.admin config/couchdb.yml
# needs to be run twice
/usr/bin/bundle exec rake couchrest:migrate
/usr/bin/bundle exec rake couchrest:migrate
# use user credentials and remove admin credentials
cp config/couchdb.yml.webapp config/couchdb.yml
|