読者です 読者をやめる 読者になる 読者になる

[task] redmine インストール

$ sudo apt-get update
$ sudo apt-get install git
$ sudo apt-get install subversion
$ sudo apt-get install ruby
$ sudo apt-get install jruby
$ sudo apt-get install ruby-dev
$ sudo apt-get install ImageMagick
$ sudo apt-get install libmagickwand-dev
$ sudo gem install rmagick
$ sudo apt-get install rails
$ sudo apt-get install -y mysql-server mysql-client
$ git clone https://github.com/redmine/redmine
$ mysql -u root
    
create database redmine character set utf8; create user 'redmine'@'localhost' identified by 'my_password'; grant all privileges on redmine.* to 'redmine'@'localhost';
$ cd ./redmine/config/ $ cp database.yml.example database.yml $ sudo gem install bundler $ cd .. $ sudo apt-get install libmysqlclient-dev $ sudo gem install mysql2 $ bundle install --without development test $ rake generate_secret_token $ RAILS_ENV=production rake db:migrate $ RAILS_ENV=production rake redmine:load_default_data $ ruby bin/rails server webrick -e production