A lightning fast image/media app
Sudu works out of the box without any configuration steps needed. There are still some options to change which are explained below. All the configuration options are stored in a .env file. Initially this file doesn’t exist as Sudu runs perfectly with the default options. All possible options are explained on the laravel documentation page.
To get you started, copy the .env.sample to .env and adapt it to your needs.
Key: APP_NAME Default: Gallery Description: The application name which is used in the title of the web page.
Key: APP_IMAGES_DIR Default: images Description: The images folder, relative to the public directory.
Key: APP_LOCALE Default: en Description: The default locale for strings.
Key: APP_FALLBACK_LOCALE Default: en Description: The fallback locale for strings.
Key: APP_DEBUG Default: false Description: Can be true or false. Only activate when not on a public web site.
Key: LOG_LEVEL Default: warning Description: The possible levels are from least severe to most severe: debug, info, notice, warning, error, critical, alert, emergency.
Key: SESSION_LIFETIME Default: 120 Description: The lifetime of a session for web requests.
Key: DB_DATABASE Default: database/database.sqlite Description: The path to the database file.
Key: DB_CONNECTION Default: sqlite Description: The database connection. Possible options are: sqlite, mysql, pgsql, sqlsrv
Initially SQLite is used for DB interactions. If you want to use another one, then change the following settings: DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=laravel DB_USERNAME=root DB_PASSWORD=mysecret