Redmine installation เพื่อทำ Experiment Management
Reason: I start to lost track of my experiments. To keep my experimental setting and results intact, I need some good management system. I hope with redmine management system, I could put experimental results, images, date, parameters, important files, etc. in a well-ordered filing system so it is easy to figure out what would go wrong.
Steps
1. Mysql installation
Steps
1. Mysql installation
sudo apt-get install mysql-server mysql-client libmysqlclient-dev
mysql -u root -p
CREATE DATABASE redmine CHARACTER SET utf8;
CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password';
GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';
2. Ruby on Rial
gpg --keyserver hkp://keys.gnupg.net --recv-keys D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable
source /home/peerajak/.rvm/scripts/rvm
rvm requirements
rvm install 2.2
gem install rails
gem install mysql2
rails new redmine_railsapp -d mysql
Download redmine, untar it cd redmine-3.2.2
vi config/database.yml
production:
database: redmine
username: redmine
password:
gem install bundler
bundle install --without development test
sudo apt-get install nodejs
bundle install --without development test rmagick
bundle exec rake generate_secret_token
RAILS_ENV=production bundle exec rake redmine:load_default_data
bundle exec rails server webrick -e production
3. Open the browswer to
http://localhost:3000/.
User admin
pass admin
Success!
ความคิดเห็น
แสดงความคิดเห็น