- Open the
.env.example
file - Rename the
.env.example
to.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_HOST
DB_PORT
DB_DATABASE
DB_USERNAME
DB_PASSWORD
variables - Configure the
APP_ENV
- set it toproduction
- Configure the
APP_KEY
- runphp artisan key:generate
and copy the output for yourAPP_KEY
- Set
APP_DEBUG
tofalse
- Set
FORCE_HTTPS
totrue
if you are using SSL - Set the
APP_URL
andASSET_URL
to your Easyshortener URL - Set
EASYSHORTENER_ALLOW_REGISTRATION
totrue
- Set
EASYSHORTENER_ALLOW_ANALYTICS
to false if you don't want to use analytics - Set
EASYSHORTENER_INSTALLATION_ENV
towebhost
- Run
composer install
to install required packages - Run
php artisan migrate
to migrate the database - If local, run
php artisan serve
too - Visit
http/https://your-easyshortener-instance.tld
or 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_HOST
DB_PORT
DB_DATABASE
DB_USERNAME
DB_PASSWORD
variables - Configure the
APP_ENV
- set it toproduction
- Configure the
APP_KEY
- runphp artisan key:generate
and copy the output for yourAPP_KEY
- Set
APP_DEBUG
tofalse
- Set
FORCE_HTTPS
totrue
if you are using SSL - Set the
APP_URL
andASSET_URL
to your Easyshortener URL - Set
EASYSHORTENER_ALLOW_REGISTRATION
totrue
- Set
EASYSHORTENER_ALLOW_ANALYTICS
to false if you don't want to use analytics - Set
EASYSHORTENER_INSTALLATION_ENV
todocker
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
[email protected]: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!