Removing dd
This commit is contained in:
parent
4381db999c
commit
b163ce6c5c
2 changed files with 14 additions and 10 deletions
23
README.md
23
README.md
|
@ -37,9 +37,9 @@ It comes with a very straightforward dashboard written in PHP. This is **optiona
|
||||||
* clone this repo
|
* clone this repo
|
||||||
* install PHP composer dependencies: `cd ./web && composer install`
|
* install PHP composer dependencies: `cd ./web && composer install`
|
||||||
* create a Database and import the schema from `sql/create.sql`
|
* 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
|
* 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/<your-path> && php artisan monitolite:monitoring:run`
|
* run the script: `cd /var/www/<your-path> && php artisan monitolite:monitoring:run`
|
||||||
* check the output of the command for results.
|
* check the output of the command for results.
|
||||||
* if everything works, you may create a CRON `* * * * * cd /var/www/<your-path> && php artisan monitolite:monitoring:run > /dev/null`
|
* if everything works, you may create a CRON `* * * * * cd /var/www/<your-path> && 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
|
## Settings
|
||||||
|
|
||||||
* DB_TYPE=mysql
|
* APP_NAME=Monitolite
|
||||||
|
* APP_ENV=production
|
||||||
|
* APP_KEY=<GENERATE KEY HERE>
|
||||||
|
* APP_DEBUG=false
|
||||||
|
* APP_URL=http://localhost
|
||||||
|
* APP_TIMEZONE=UTC
|
||||||
|
* DB_CONNECTION=mysql
|
||||||
* DB_HOST=127.0.0.1
|
* DB_HOST=127.0.0.1
|
||||||
* DB_USER=vagrant
|
|
||||||
* DB_PASSWORD=vagrant
|
|
||||||
* DB_NAME=monitoring
|
|
||||||
* DB_PORT=3306
|
* DB_PORT=3306
|
||||||
|
* DB_DATABASE=homestead
|
||||||
|
* DB_USERNAME=homestead
|
||||||
|
* DB_PASSWORD=secret
|
||||||
* SMTP_HOST=localhost
|
* SMTP_HOST=localhost
|
||||||
* SMTP_USER=
|
* DMTP_USER=
|
||||||
* SMTP_PASSWORD=
|
* SMTP_PASSWORD=
|
||||||
* SMTP_PORT=80
|
* SMTP_PORT=25
|
||||||
* SMTP_SSL=1
|
* SMTP_SSL=1
|
||||||
* MAIL_FROM=axel@monitolite.fr
|
* MAIL_FROM=axel@monitolite.fr
|
||||||
* NB_TRIES=3
|
* NB_TRIES=3
|
||||||
* ARCHIVE_DAYS=10
|
* ARCHIVE_DAYS=10
|
||||||
|
|
||||||
## MORE INFORMATION COMING SOON.
|
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
|
|
||||||
|
|
|
@ -71,7 +71,6 @@ function setDbTimezone() {
|
||||||
|
|
||||||
$app->configure('app');
|
$app->configure('app');
|
||||||
$app->configure('database');
|
$app->configure('database');
|
||||||
dd(config('database.connections.mysql.timezone'));
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue