Code Monkey home page Code Monkey logo

redmine's Introduction

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.