The redmine we use.
- the Database
- /data/
- /log/
- /repo/
- /config/database.yml
- cache, tmp file, secret token...etc
git clone https://github.com/mufo/redmine.git,cd redmine- configure the database:
cp config/database.yml.example config/database.yml ; vi config/database.yml - get submodules:
git submodule init ; git submodule update gem install bundler ; bundle install --without development test(or rmagick)- if newly installation: create the database
RAILS_ENV=production rake db:migrate ; RAILS_ENV=production rake redmine:plugins - restore old data: import database, restore email settings and copy
data/,repo/from old server. rake generate_secret_token- and there we go:
thin -C thincfg.yml start