- PHP 7.2+ (7.4 preferred)
- PHP Extensions: openssl, mcrypt and mbstring, phpredis
- Database server: MySQL or MariaDB
- Redis Server
- Composer
- Node.js with npm
- clone the repository:
git clone https://git.latable.dev/Havens/Limg Limg
- create a database
- install:
composer install --dev
- create configuration env file
.env
refer to.env.example
- generate a new application key
php artisan key:generate
- setup database tables:
php artisan migrate:fresh --seed
- create storage link
php artisan storage:link
- install node_module
npm i && npm run dev
- go on https://discordapp.com/developers/applications
- create new application
- copy
CLIENT ID
&CLIENT SECRET
- paste on
.env
(CLIENT ID
=>DISCORD_KEY
&CLIENT SECRET
=>DISCORD_SECRET
) - go on OAuth2 page and add redirect link :
https://YourApp.Domain/login/discord/callback
- add this redirect link in
.env
=>DISCORD_REDIRECT_URI
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.