diff --git a/README.md b/README.md index 1f0bdf8576bbb011072be9f5b5c3cd307bea89ae..2636c6441d4297d6d57e4265858f032857476cae 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,21 @@ To check if the correct version of mongodb extension is installed: sudo pecl list ``` +You will need php7.2-mbstring: + +``` +sudo apt-get install php7.2-mbstring +``` + +Edit php.ini (PHP configuration file) : +``` +vim /etc/php/7.2/cli/php.ini +``` +In the dynamic extensions section, insert the following line : +``` +extension=mysqli.so; +``` + And to check that the extension is actually enabled and used by php: ``` @@ -62,6 +77,7 @@ php -i | grep mongo ### Installation +In the monitoring directory : ``` composer install touch storage/app/db.sqlite @@ -73,6 +89,7 @@ php artisan key:generate To check your installation is correct, you can run the phpunit tests: ``` +sudo apt-get install php-dom ./vendor/bin/phpunit ``` @@ -83,3 +100,9 @@ To check your installation is correct, you can run the phpunit tests: npm install npm run watch ``` + +### Launch monitoring +``` +php artisan serve +``` +Then, see your monitoring interface at http://127.0.0.1:8000/ \ No newline at end of file