Difference between revisions of "Redmine"

From Alpine Linux
Jump to: navigation, search
m (Updated now that ruby is working properly)
m (another small tweak)
Line 19: Line 19:
 
  localhost:3000
 
  localhost:3000
 
  user admin:admin
 
  user admin:admin
Edit lighttpd.conf and uncomment "include mod_fastcgi.conf"<br />
+
Edit lighttpd.conf and uncomment "include mod_fcgi.conf"<br />
 
Restart lighttpd. <br />
 
Restart lighttpd. <br />
 +
apk add fcgi-dev<br />
 +
gem install fcgi<br />
 +
add to mod_fcgi.conf bin-path /var/www/localhost/htdocs/public/dispatch.fcgi.example<br />

Revision as of 21:00, 15 November 2010

Underconstruction clock icon gray.svg
This material is work-in-progress ...

Do not follow instructions here until this notice is removed.
(Last edited by Jbilyk on 15 Nov 2010.)

apk add lighttpd fcgi rubygems mysql mysql-dev
gem install rack -v=1.0.1
gem install rails -v=2.3.5
gem install mysql
mysql commands:

create database redmine character set utf8;
grant all privileges on redmine.* to 'redmine'@'localhost' identified by 'Secur3P@ass';
flush privileges;

mkdir /usr/share/webapps/redmine
copy over redmine-1.0.3.tar.gz contents into folder
chown -R lighttpd:lighttpd /usr/share/webapps/redmine
edit config/database.yml (copied from database.yml.example) production section to match above mysql settings
cd /usr/share/webapps/redmine
rake generate_session_store
RAILS_ENV=production rake db:migrate
RAILS_ENV=production rake redmine:load_default_data (keep default language of en)

ruby script/server webrick -e production
localhost:3000
user admin:admin

Edit lighttpd.conf and uncomment "include mod_fcgi.conf"
Restart lighttpd.
apk add fcgi-dev
gem install fcgi
add to mod_fcgi.conf bin-path /var/www/localhost/htdocs/public/dispatch.fcgi.example