I ended up installing it on my main linux machine (FC15). I lost track of the additional packages required ... here's the transcript ...
Note I already had mysql and apache running.
So I created a redmine database, as is described above, and then followed the remainder of the post.
# Make somewhere to download and configure redmine cd mkdir redmine cd redmine wget http://rubyforge.org/frs/download.php/76259/redmine-2.0.3.tar.gz gunzip -c redmine-2.0.3.tar.gz | tar xf - cd redmine-2.0.3 cp config/database.yml.example config/database.yml # Set up for production environment emacs config/database.yml # Install all the FC15 dependencies for a standard set up sudo yum install -y phpmyadmin sudo yum install -y ruby rails rake sudo yum install -y rubygem-rake sudo yum install -y ruby-devel sudo yum install -y mysql-devel sudo yum install -y postgresql-devel sudo yum install -y ImageMagick-devel # Use Ruby gems installer to get basic tool kit and installer sudo gem install bundler sudo bundle install --without development test # Preconfigure Redmine sudo rake generate_secret_token RAILS_ENV=production rake db:migrate RAILS_ENV=production rake redmine:load_default_data # Create a permanent home and redmine user sudo mkdir /opt/redmine sudo useradd redmine sudo passwd redmine sudo chown -R redmine.redmine /opt/redmine sudo chmod -R 774 /opt/redmine # Move redmine install to new home under /opt cd .. sudo mv redmine-2.0.3 /opt/redmine/ sudo chown -R redmine.ian /opt/redmine/redmine-2.0.3 # Restart web server sudo service httpd restartWe can login as redmine user and start production mode with ...
nohup ruby script/rails server webrick -e production &Running nohup means we can log out, and leave redmine running unattached. Fire up a web browser and navigate to localhost:3000 and first time login as admin admin Its then a case of making some customizations, and setting up a few basics such as a user account and example project ... Next time we'll go through the business of using redmine to specify our first real python project
No comments:
Post a Comment