futurolan / weezbadge
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: ^7.3
- ext-ctype: *
- ext-iconv: *
- ext-json: *
- jms/serializer-bundle: ^3.3
- knpuniversity/oauth2-client-bundle: ^1.28
- league/csv: ^9.3
- league/oauth2-google: ^3.0
- sensio/framework-extra-bundle: ^5.1
- symfony/asset: ^4.3
- symfony/console: ^4.3
- symfony/dotenv: ^4.3
- symfony/expression-language: ^4.3
- symfony/flex: ^1.1
- symfony/form: ^4.3
- symfony/framework-bundle: ^4.3
- symfony/intl: ^4.3
- symfony/monolog-bundle: ^3.1
- symfony/orm-pack: *
- symfony/process: ^4.3
- symfony/security-bundle: ^4.3
- symfony/serializer-pack: *
- symfony/swiftmailer-bundle: ^3.1
- symfony/translation: ^4.3
- symfony/twig-bundle: ^4.3
- symfony/validator: ^4.3
- symfony/web-link: ^4.3
- symfony/yaml: ^4.3
Requires (Dev)
Conflicts
README
Badge management tools for Weezevent
Requirements
- PHP 7.3
- MariaDB 10.2.7 or MySQL 5.7.8
- Composer
- A Google Oauth 2.0 API Key
- A Weezevent API Key (contact Weezevent for getting one)
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