/SecretSanta

Secret santa is the #1 online gift exchange organizer. http://www.secretsantaorganizer.com

Primary LanguagePHPISC LicenseISC

Welcome to Secret Santa Online gift exchange organizer!

Build Status

Secret Santa Organizer is a free online Secret Santa gift exchange organizer! Organize a Secret Santa party with friends, family or even co-workers and add your wishlist.

See LICENSE for usage terms.

[SensioLabsInsight] (https://insight.sensiolabs.com/projects/5e845a60-cf8f-4e83-97d3-ecacb19cd091)

Getting started

First get the code on your machine.

git clone git@github.com:Intracto/SecretSanta.git
cd SecretSanta

Install VirtualBox 5.0.24 and Vagrant 1.8.7 (or more recent).

vagrant up

Add these records to your own /etc/hosts file:

192.168.33.50 dev.secretsantaorganizer.com
192.168.33.50 mailcatcher.dev.secretsantaorganizer.com
192.168.33.50 phpmyadmin.dev.secretsantaorganizer.com

Browse to http://dev.secretsantaorganizer.com/app_dev.php to see the project homepage.

Extra info

If you need root in the box, use sudo -i or password vagrant.

All mails on the system are intercepted, regardless sender and receiver, and are delivered locally. You can access these mails from the URL /roundcube.

There is access to the MySQL database from URL /phpmyadmin, or with a remote connection. Login with user root, password vagrant.

Xdebug remote debugging is enabled. Configure your PhpStorm so you can step debug the code.

Run the tests with:

phpunit.phar -c app

Note, don't worry if you see the shell provisioning print a lot of red lines. It all works fine.

Building the frontend:

cd /vagrant/src/Intracto/SecretSantaBundle/Resources/public
gulp build