💸 Yes. We have to drink. Yes. We have to pay. But we also have to put money on our Tab. This makes everyone's life, especially that of the treasurer, easier by automatically handling transactions to Zeus.
- PHP 8.1 or higher
- Composer
- Node.js
- MySQL or MariaDB database
- Clone the repository
- Run
composer install - Run
npm install && npm run build - Copy
.env.exampleto.envand fill in the required valuesAPP_KEYcan be generated withphp artisan key:generateAPP_ENVshould be set toproductionin productionZAUTH_values can be retrieved from the Zauth Clients pageGOCARDLESS_values can be retrieved from the GoCardless Bank Account Data Developers Dashboard
- Run
php artisan migrate - Set up the cronjob to run
php artisan schedule:runevery minute in the root of the project, thereforecrontab.examplecan be used as a starting point
Instead of step 2, 3 and 5, the Dockerfile can be used to build a Docker image.
Use php artisan serve to start a development server.
For macOS users, Laravel Valet is highly recommended.
Use npm run dev to automatically recompile assets when they change.
See the Laravel documentation for more information.