Skip to content

Instantly share code, notes, and snippets.

@babydaemons
Last active October 1, 2016 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save babydaemons/59c03d74bda27c506031f84bad50c1ac to your computer and use it in GitHub Desktop.
Save babydaemons/59c03d74bda27c506031f84bad50c1ac to your computer and use it in GitHub Desktop.
Ubuntu 16.04 LTSでRedmineを2.5から3.3に上げてみる ref: http://qiita.com/babydaemons/items/4cff48d4f850e0aad9ea
$ svn co https://svn.redmine.org/redmine/branches/3.3-stable redmine-3.3
$ svn checkout http://svn.redmine.org/redmine/branches/2.5-stable redmine
$ sudo apt-get install imagemagick libmagickcore-dev libmagickwand-dev
$ gem install bundler
$ cd redmine-3.3
$ bundle
$ tar cf - files -C ~/redmine | tar xvpf -
$ rake generate_secret_token
$ cp -p ~/redmine/config/database.yml config
$ RAILS_ENV=production rake db:migrate
$ RAILS_ENV=production rails s -b example.com -p 3000
$ sudo /etc/init.d/apache2 restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment