Skip to content

Redmine is a flexible project management web application written using Ruby on Rails framework. http://github.com/edavis10/redmine is the official git mirror of the svn repository

Notifications You must be signed in to change notification settings

real-chocopanda/redmine

 
 

Repository files navigation

Redmine e-TF1

Redmine déployable en environnement e-TF1

Installation sur une VM de dev

Installer libyaml (avant ruby)
sudo yum install libyaml

OU (si le paquet n'est pas disponible dans le repo etf1)

wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
tar xzvf yaml-0.1.4.tar.gz
cd yaml-0.1.4
./configure --prefix=/usr/local
make
make install

OU

cd ~/.rvm/archives
wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
rvm reinstall 1.9.3
Choix de la version de ruby

En date du 04/04/2013:

Installation des gems
bundle config build.mysql2 --with-mysql-include=/usr/include/mysql
# Pour rmagick
export PKG_CONFIG_PATH=/opt/imagemagick/lib/pkgconfig

bundle install --no-deployment --binstubs --path vendor/bundle
Base de données
  • S'assurer que config/databases.yml est configuré correctement
  • Migrer la base
./bin/rake db:migrate RAILS_ENV=[development|production]
Nettoyer
./bin/rake tmp:cache:clear
./bin/rake tmp:sessions:clear
Installation du module apache 2 Passenger
sudo yum install curl-devel
./bin/passenger-install-apache2-module

Suivre les instructions pour configurer apache. Fichier de conf /etc/httpd/conf.d/passenger.conf En particulier, ajouter dans le vhost:

        # MultiViews must be turned off.
        Options -MultiViews
Redémarrer apache
sudo service httpd restart

Redémarrer l'application

touch tmp/restart.txt

Pistes pour debugger

  • Augmenter le niveau de log dans le vhosts PassengerLogLevel 3 PassengerDebugLogFile /var/log/httpd/passenger.log
  • Lancer le serveur webrick en ligne de commande: ruby script/rails server webrick -e development Simuler un appel: curl localhost:3000

About

Redmine is a flexible project management web application written using Ruby on Rails framework. http://github.com/edavis10/redmine is the official git mirror of the svn repository

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 93.5%
  • JavaScript 3.4%
  • Perl 2.5%
  • Other 0.6%