/apps

Le consortium horizon propose un ensemble d'applications web dont les sources sont centralisées dans ce repository.

Primary LanguagePHP

Le Consortium Horizon - web apps

Deployment status from DeployBot

Le consortium horizon propose un ensemble d'applications web dont les sources sont centralisées dans ce repository :

Prérequis

Sont nécessaires les éléments suivants :

  • PHP 5.x
  • MySQL 5.x
  • Nginx

Mac

# Install Homebrew
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew update && brew upgrade

# Install PHP-FPM
$ brew tap homebrew/dupes
$ brew tap homebrew/php
$ brew install --without-apache --with-fpm --with-mysql php56

# Setup auto-start
$ mkdir -p ~/Library/LaunchAgents
$ ln -sfv /usr/local/opt/php56/homebrew.mxcl.php56.plist ~/Library/LaunchAgents/
$ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.php56.plist

# Install MySQL
$ brew install mysql
$ ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist

# Install Caddyserver
$ brew install caddy

Installation

$ bower install
$ (cd wiki && composer update --no-dev)

Développement

# Run the local server
$ caddy

Les identifiants MySQL sont, en local, les suivants :

database: <nom de l'outil> (exemple : wordpress)
username: <nom de l'outil>
password: <nom de l'outil>
host: localhost