Skip to content

🎅 The code behind Secret Santa, the holiday bot for Slack / Discord / Webex

License

Notifications You must be signed in to change notification settings

jolicode/secret-santa

Repository files navigation

Secret Santa app

Just go to https://secret-santa.team/ and have fun.

Code source is under MIT License.

Install and run locally

The app requires:

  • a Redis server
  • PHP 7.2+

Run the following command to install the app locally:

composer install

We rely on some env variables to communicate with various API's and Redis. Check out the .env.dist file and fill the correct values.

Then launch this command:

make serve

The application should now be running on http://127.0.0.1:8000.

Tests are made with PHPUnit.
To run unit tests, launch this command:

make test