veillelogiciels:gestion_de_projet

Chaque jour faire du travail de meilleur qualité.

  • Gestion des branches du projet :
    • Développement
    • Test
    • Intégration
    • Production
  • Création des scénarios pour les divers cas
    • Utilisateurs du logiciel (recette)
      • Confirmé
      • Débutant
  • Intégration
  • Plusieurs plateformes ou environnement
$ aptitude install redmine redmine-mysql mongrel rails
$ addgroup redmine
 
$ cd  /usr/share/redmine
$ chown -R redmine:redmine files log tmp public/plugin_assets
$ chmod -R 755 files log tmp public/plugin_assets 
 
 
$ nano /etc/init.d/redmine
#!/bin/sh
 
set -e
 
REDMINE_PATH=/usr/share/redmin/
REDMINE_PID=/tmp/mongrel.pid
REDMINE_PORT=3000
REDMINE_INTERFACE=127.0.0.1
 
if [ -x /usr/bin/mongrel_rails ] ; then
        HAVE_MONGREL=1
else
        echo "Mongrel not installed."
        exit 0
fi
 
. /lib/lsb/init-functions
 
case "$1" in
  start)
        log_action_begin_msg "Starting Redmine server"
        mongrel_rails start -c $REDMINE_PATH -d -e production -p $REDMINE_PORT -P $REDMINE_PID -a $REDMINE_INTERFACE
        log_action_end_msg $?
        ;;
  stop)
        log_action_begin_msg "Stopping Redmine server"
        mongrel_rails stop -c $REDMINE_PATH -P $REDMINE_PID
        log_action_end_msg $?
        ;;
  force-reload|restart)
        $0 stop
        $0 start
        ;;
  *)
        echo "Usage: /etc/init.d/redmine {start|stop|restart|force-reload}"
        exit 1
        ;;
esac
 
exit 0
$ chmod +x /etc/init.d/redmine
 
$  service redmine start
$  curl http://localhost:3000/
 
$ update-rc.d redmine defaults
  • veillelogiciels/gestion_de_projet.txt
  • Dernière modification: 2018/10/13 14:59
  • (modification externe)