The AndroIRC website made with Symfony2
PHP HTML JavaScript CSS ApacheConf Ruby Shell
Switch branches/tags
Nothing to show
Latest commit ce38eaf Jul 8, 2017 @blinkseb blinkseb Unneeded use statement
Permalink
Failed to load latest commit information.
app
bin tweaks Nov 9, 2012
src Upgrade to Symfony 2.8 Jul 8, 2017
web Unneeded use statement Jul 8, 2017
.gitignore Move configuration options for deploy into a single file Jul 8, 2017
.travis.yml Update CI configuration Jul 8, 2017
LICENSE Welcome to 2012 Jan 23, 2012
README.md Update README with a basic how-to May 29, 2016
composer.json Upgrade to Symfony 2.8 Jul 8, 2017
composer.lock Upgrade to Symfony 2.8 Jul 8, 2017

README.md

AndroIRC (Android IRC Client)

Tracis CI :

  • Master : Build Status
  • Develop : Build Status

Team :

Prepare environment

  1. Install composer: https://getcomposer.org/download/
  2. Create and edit the parameters.yml file: cp app/config/parameters.yml.test app/config/parameters.yml
  3. Install dependencies:
php composer.phar install
  1. Setup database, and load some fixtures:
php app/console --env=test doctrine:database:drop --force
php app/console --env=test doctrine:database:create
php app/console --env=test doctrine:schema:create
php app/console --env=test doctrine:fixtures:load --no-interaction
  1. Setup nginx: see https://www.wanadev.fr/9-kit-de-survie-symfony2-et-nginx/
  2. Setup Symfony cache
cd app/
HTTPDUSER=`ps axo user,comm | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1`
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX cache
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX cache
sudo setfacl -R -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX logs
sudo setfacl -dR -m u:"$HTTPDUSER":rwX -m u:`whoami`:rwX logs
cd ..

Deployment

AndroIRC use capifony for deployment (http://capifony.org/)

sudo gem install capifony
  1. Initialize capifony: capifony .