blob: 3441e0862fdb7c5a849afd713fe4b97ab592685f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
cd /srv/leap-webapp
# use admin credentials
mv 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
mv config/couchdb.yml.webapp config/couchdb.yml
|