- PHP >= 7.3 (http://php.net)
- MySQL >= 5.6 (http://mysql.com)
- Laravel >= 8.0 (http://laravel.com)
- BCMath PHP Extension
- Ctype PHP Extension
- JSON PHP Extension
- Mbstring PHP Extension
- OpenSSL PHP Extension
- PDO PHP Extension
- Tokenizer PHP Extension
- XML PHP Extension
cp .env.example .env
composer install
php artisan key:generate
npm install
- Create an Application on Discord's Developer Portal (https://discord.com/developers/applications) and fill your
.env
file with its data.DISCORD_REDIRECT_URI
example -http://localhost/discord-signup/public/auth/discord/handle
- Don't forget to set database, mail, and Discord Developer data in
.env
file - Generate public and admin panel assets with
npm run dev
- Or just generate only public or only admin panel assets -
npm run dev-front
(public) andnpm run dev-back
(admin panel) - Or just watch them -
npm run watch-poll-front
(public) andnpm run watch-poll-back
(admin panel)
- Or just generate only public or only admin panel assets -
- Run and seed all migrations -
php artisan migrate:fresh --seed
- Or only run them with
php artisan migrate
- Or only seed them with
php artisan db:seed
if you already migrated them (won't work if they are not migrated)
- Or only run them with
- Don't forget to set the environment with
APP_ENV=production
in.env
file - Don't forget to turn off debug mode with
APP_DEBUG=false
in.env
file - Don't forget to set database, mail, and Discord Developer data in
.env
file - Generate public and admin panel assets with
npm run prod
- Run and seed all migrations -
php artisan migrate:fresh --seed
- Or only run them with
php artisan migrate
- Or only seed them with
php artisan db:seed
if you already migrated them (won't work if they are not migrated)
- Or only run them with