Skip to content

Instantly share code, notes, and snippets.

@manchot0
Last active October 27, 2015 15:58
Show Gist options
  • Save manchot0/b7d7446bcc1f3904af1a to your computer and use it in GitHub Desktop.
Save manchot0/b7d7446bcc1f3904af1a to your computer and use it in GitHub Desktop.
copy BDD
si besoin : source /etc/profile
dans repertoire redmine : cd /opt/redmine/redmine
migration BDD : rake db:migrate RAILS_ENV=production
migration bdd plugins : bundle exec rake redmine:plugins:migrate RAILS_ENV=production
copy files (/var/lib/redmine/default/files)
MAJ config/database.yml configuration.yml settings.yml
restart apache : sudo service apache2 restart
remplacement caractere bdd :
é -> é
ë -> è
ç -> ç
à -> à
Copie git repo :
crontab :
*/5 * * * * root /home/redmine/scripts/sync_redmine_git.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment