Created
May 17, 2016 08:06
-
-
Save WISHPRO/0e7c86d12ec681c886c4490704e7d079 to your computer and use it in GitHub Desktop.
bn_redmine sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Author: Vitaliy Ectb | |
bundle exec rake time:zones:all RAILS_ENV=production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Author: Vitaliy Ectb | |
#ruby bin/rake db:migrate_plugins:migrate PLUGIN=$* VERSION=0 RAILS_ENV=production | |
#rake redmine:plugins:migrate NAME=$* VERSION=0 RAILS_ENV=production | |
#mkdir -p /opt/bitnami/apps/redmine/htdocs/plugins.inactive | |
mv /opt/bitnami/apps/redmine/htdocs/plugins.inactive/$* /opt/bitnami/apps/redmine/htdocs/plugins/ | |
bundle install --without development test postgresql sqlite | |
bundle exec rake redmine:plugins:migrate NAME=$* RAILS_ENV=production | |
#ruby bin/rake redmine:plugins:migrate NAME=$* RAILS_ENV=production |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Author: Vitaliy Ectb | |
#ruby bin/rake db:migrate_plugins:migrate PLUGIN=$* VERSION=0 RAILS_ENV=production | |
rake redmine:plugins:migrate NAME=$* VERSION=0 RAILS_ENV=production | |
mkdir -p /opt/bitnami/apps/redmine/htdocs/plugins.inactive | |
mv /opt/bitnami/apps/redmine/htdocs/plugins/$* /opt/bitnami/apps/redmine/htdocs/plugins.inactive/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment