diff --git a/README.md b/README.md index b4e3da1..f7d9a53 100644 --- a/README.md +++ b/README.md @@ -37,9 +37,9 @@ It comes with a very straightforward dashboard written in PHP. This is **optiona * clone this repo * install PHP composer dependencies: `cd ./web && composer install` * create a Database and import the schema from `sql/create.sql` - * create your own `.env` file: `cp env.example .env` and adapt it to your needs + * create your own `.env` file: `cp .env.example .env` and adapt it to your needs * create a webserver vhost with document root to the `public` directory - * add tasks and contacts into the database (no backend yet) + * add tasks and contacts into the database (no GUI for CRUD yet) * run the script: `cd /var/www/ && php artisan monitolite:monitoring:run` * check the output of the command for results. * if everything works, you may create a CRON `* * * * * cd /var/www/ && php artisan monitolite:monitoring:run > /dev/null` @@ -47,22 +47,27 @@ It comes with a very straightforward dashboard written in PHP. This is **optiona ## Settings -* DB_TYPE=mysql +* APP_NAME=Monitolite +* APP_ENV=production +* APP_KEY= +* APP_DEBUG=false +* APP_URL=http://localhost +* APP_TIMEZONE=UTC +* DB_CONNECTION=mysql * DB_HOST=127.0.0.1 -* DB_USER=vagrant -* DB_PASSWORD=vagrant -* DB_NAME=monitoring * DB_PORT=3306 +* DB_DATABASE=homestead +* DB_USERNAME=homestead +* DB_PASSWORD=secret * SMTP_HOST=localhost -* SMTP_USER= +* DMTP_USER= * SMTP_PASSWORD= -* SMTP_PORT=80 +* SMTP_PORT=25 * SMTP_SSL=1 * MAIL_FROM=axel@monitolite.fr * NB_TRIES=3 * ARCHIVE_DAYS=10 -## MORE INFORMATION COMING SOON. ## TODO diff --git a/bootstrap/app.php b/bootstrap/app.php index 9e7390f..58549d9 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -71,7 +71,6 @@ function setDbTimezone() { $app->configure('app'); $app->configure('database'); -dd(config('database.connections.mysql.timezone')); /*