1.install redmine 

* fedora installation prerequisites

yum install ruby-devel
yum install ImageMagick-devel
yum install mariadb-devel

http://www.redmine.org/projects/redmine/wiki/Fedora_installation_prerequisites

* download redmin 2.3 using svn 

svn co http://svn.redmine.org/redmine/branches/2.3-stable redmine-2.3

* create database

CREATE DATABASE redmine CHARACTER SET utf8;
CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password';
GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';

* edit config/database.yml (copy config/database.yml.examle)

production:
  adapter: mysql2
  database: redmine
  host: localhost
  username: redmine
  password: my_password

* dependencies installation

gem install bundler
bundle install --without development test

* database scema object creation

RAILS_ENV=production rake db:migrate

* database default data set

RAILS_ENV=production rake redmine:load_default_data

* test the installation

ruby script/rails server webrick -e production (just test)
puma -e production -p 3000 

* visit http://localhost:3000/.

http://www.redmine.org/projects/redmine/wiki/RedmineInstall

2. redmin plugin

find plugin at the plugin drectory(http://www.redmine.org/plugins)

download plugin into #{RAILS_ROOT}/plugin

install

rake redmine:plugins:migrate RAILS_ENV=production

unistall (maybe need 'bundle install')

rake redmine:plugins:migrate NAME=plugin_name VERSION=0 RAILS_ENV=production

http://www.redmine.org/projects/redmine/wiki/Plugins




'framework&tools > etc' 카테고리의 다른 글

aptana studio  (0) 2013.03.29
yalp framework  (0) 2013.03.25
Asgard by Netflix  (0) 2012.11.21
Posted by 뚜벅이조
,