Skip to content
Snippets Groups Projects
Commit aea4357b authored by Thibault Debatty's avatar Thibault Debatty
Browse files

updated readme

parent 23ab658c
No related branches found
No related tags found
No related merge requests found
Pipeline #11628 passed
......@@ -3,40 +3,22 @@
[![pipeline status](https://gitlab.cylab.be/cylab/monitoring/badges/master/pipeline.svg)](https://gitlab.cylab.be/cylab/monitoring/-/commits/master)
[![coverage report](https://gitlab.cylab.be/cylab/monitoring/badges/master/coverage.svg)](https://gitlab.cylab.be/cylab/monitoring/-/commits/master)
## Contributing
To run this tool localy, you will need:
A simple monitoring tool where monitored servers "push" their state to the monitoring interface.
### Installation
```
composer install
touch storage/app/db.sqlite
cp env.dev .env
php artisan migrate
php artisan key:generate
```
To check your installation is correct, you can run the phpunit tests:
```
./vendor/bin/phpunit
```
![](./monitoring.png)
## Contributing
### Frontend
The easiest way to run the development environment is using docker compose.
To build CSS and JS code:
Once docker is installed, you can start the dev environment with
```
npm install
npm run watch
```bash
docker compose up
```
### Launch monitoring
After a few seconds, the monitoring interface will be available at ```http://127.0.0.1:8080/```
```
php artisan serve
```
The dev stack also includes mailhog, so you can inspect sent emails at ```http://127.0.0.1:8025```
Then, see your monitoring interface at http://127.0.0.1:8000/
You can check https://cylab.be/blog/190/run-a-development-environment-for-laravel-with-docker-compose for more info...
monitoring.png

81.6 KiB

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