futurolan/weezbadge


README

Badge management tools for Weezevent

Requirements

Installation / Update

$ composer create-project futurolan/weezbadge

Configuration

Create a file name '.env.local' in project root (weezevent/). This file will not be overwrite on update.

# Symfony
APP_ENV=prod
APP_SECRET=<secret>

# Google API
OAUTH_GOOGLE_CLIENT_ID=<your google oauth id>
OAUTH_GOOGLE_CLIENT_SECRET=<your google oauth secret>

# Weezevent
WEEZEVENT_API_KEY=<weezevent api key>
WEEZEVENT_USERNAME=<weezevent username>
WEEZEVENT_PASSWORD=<weezevent password>

# MySQL Database
DATABASE_URL=mysql://user:password@127.0.0.1:3306/database

# Administrator
SUPER_ADMIN_EMAIL=user@domain.com

Database initialisation

$ bin/console doctrine:migrations:migrate

Webserver configuration

Please refer to Symfony 4 documentation on how to properly configure your web server : https://symfony.com/doc/current/setup/web_server_configuration.html