- Open the
.env.examplefile - Rename the
.env.exampleto.env - Configure the
DATABASE_URL- connection:mysql://user:password@database_host:port/database_table - Configure the
DB_CONNECTION - Set it to
mysql - Remove the
DB_HOSTDB_PORTDB_DATABASEDB_USERNAMEDB_PASSWORDvariables - Configure the
APP_ENV- set it toproduction - Configure the
APP_KEY- runphp artisan key:generateand copy the output for yourAPP_KEY - Set
APP_DEBUGtofalse - Set
FORCE_HTTPStotrueif you are using SSL - Set the
APP_URLandASSET_URLto your Easyshortener URL - Set
EASYSHORTENER_ALLOW_REGISTRATIONtotrue - Set
EASYSHORTENER_ALLOW_ANALYTICSto false if you don't want to use analytics - Set
EASYSHORTENER_INSTALLATION_ENVtowebhost
- Run
composer installto install required packages - Run
php artisan migrateto migrate the database - If local, run
php artisan servetoo - Visit
http/https://your-easyshortener-instance.tldor for localhttp://localhost:8000
馃挕 If you need to configure MAIL to reset your account password please check the laravel documentation
- Configure the
DATABASE_URL- connection:mysql://user:password@database_host:port/database_table - Configure the
DB_CONNECTION - Set it to
mysql - Remove the
DB_HOSTDB_PORTDB_DATABASEDB_USERNAMEDB_PASSWORDvariables - Configure the
APP_ENV- set it toproduction - Configure the
APP_KEY- runphp artisan key:generateand copy the output for yourAPP_KEY - Set
APP_DEBUGtofalse - Set
FORCE_HTTPStotrueif you are using SSL - Set the
APP_URLandASSET_URLto your Easyshortener URL - Set
EASYSHORTENER_ALLOW_REGISTRATIONtotrue - Set
EASYSHORTENER_ALLOW_ANALYTICSto false if you don't want to use analytics - Set
EASYSHORTENER_INSTALLATION_ENVtodocker
Run docker compose up
- Open https://gitpod.io#snapshot/bef448f4-541b-41b5-a5a7-daa545f26171
- Configure the ASSET_URL & APP_URL to your Easyshortener URL
- Set FORCE_HTTPS to
true - Run
php artisan serve - Login with
admin@admin.com:password- If this doesn't work, create a new one with php artisan make:filament-user
馃挕 Make sure you use @admin.com
If you have any questions, problems, whatever, feel free to open an issue!