WEC Members is a Symfony web project to host sermons.
Supported
Requires
For development
Start your MySQL/MariaDB Database (however it's configured for you)
Copy .env
to .env.local
.env.local
is ignored in git so add your config here, not in .env
Run Migration (this creates your DB Schema)
symfony console doctrine:migrations:migrate
Run init to seed database
symfony console app:init
note: this is a custom implementation of Fixtures. We don't use fixtures as it's only designed for development, but we want to seed a production database.
symfony serve
You'll need to set up a CRON script to run every 1 hour
APP_ENV=prod symfony console app:renewoauth2
This will renew the OAuth2 tokens (not required, but nicer for UX for admin)