ESO Raidplanner uses DDEV as a development environment. You can get it running with a vanilla LAMP stack, but we strongly recommend you use DDEV.
ESO Raidplanner is based on Symfony 4.4.
- Clone this repository, or your fork.
- Run
ddev start
. - Run
ddev composer install
. - Run
ddev composer make:env
. - Set the following variables in your
.env.local
file:OAUTH_DISCORD_CLIENT_ID
,OAUTH_DISCORD_CLIENT_SECRET
,DISCORD_BOT_TOKEN
,DISCORD_BOT_CLIENT_ID
andBOT_AUTH_TOKEN
. - Run
ddev exec bin/console doctrine:migrations:migrate
. - Run
ddev exec yarn install
. - Run
ddev exec yarn encore dev
. - Your application development environment is now set up.
- Move into the
bot/
folder. - Copy
config.example.json
toconfig.json
. - Set your Discord bot token in
config.json
in the fieldbotToken
. - Set your auth token in
config.json
in the fieldauthToken
. Make sure that theauthToken
is the same as yourBOT_AUTH_TOKEN
.env variable. - Run
npm install
. - Start the both with
node bot.js
.