Skip to content
Snippets Groups Projects
Commit 06faac9d authored by Tibo's avatar Tibo
Browse files

Merge branch 'patch-1' into 'master'

Update README.md

See merge request !4
parents 579fcccc ef707213
No related branches found
No related tags found
1 merge request!4Update README.md
Pipeline #3570 passed
...@@ -54,6 +54,21 @@ To check if the correct version of mongodb extension is installed: ...@@ -54,6 +54,21 @@ To check if the correct version of mongodb extension is installed:
sudo pecl list 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: And to check that the extension is actually enabled and used by php:
``` ```
...@@ -62,6 +77,7 @@ php -i | grep mongo ...@@ -62,6 +77,7 @@ php -i | grep mongo
### Installation ### Installation
In the monitoring directory :
``` ```
composer install composer install
touch storage/app/db.sqlite touch storage/app/db.sqlite
...@@ -73,6 +89,7 @@ php artisan key:generate ...@@ -73,6 +89,7 @@ php artisan key:generate
To check your installation is correct, you can run the phpunit tests: To check your installation is correct, you can run the phpunit tests:
``` ```
sudo apt-get install php-dom
./vendor/bin/phpunit ./vendor/bin/phpunit
``` ```
...@@ -83,3 +100,9 @@ To check your installation is correct, you can run the phpunit tests: ...@@ -83,3 +100,9 @@ To check your installation is correct, you can run the phpunit tests:
npm install npm install
npm run watch 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment