mirror of
https://gitlab.com/mobicoop/v3/service/logger.git
synced 2026-01-02 20:02:39 +00:00
update readme
This commit is contained in:
12
README.md
12
README.md
@@ -53,18 +53,6 @@ It is the responsibility of each service to set the routing key to the appropria
|
||||
|
||||
To handle logs for a given service, a controller corresponding to the service must be set. In this controller, you must define a handler for each action and level. You must also define a unique RabbitMQ queue for this handler (this permits to use durable queues, allowing to keep logs in RabbitMQ even if the logger service is down).
|
||||
|
||||
## Test
|
||||
|
||||
```bash
|
||||
# unit tests
|
||||
docker exec v3-user sh -c "npm run test"
|
||||
|
||||
# test coverage
|
||||
docker exec v3-user sh -c "npm run test:cov"
|
||||
```
|
||||
|
||||
Note : you can run all npm commands directly _outside_ the container (see _scripts_ section of `package.json` for available commands), but you need NodeJS installed locally. We **strongly** advise to install [Node Version Manager](https://github.com/nvm-sh/nvm) and use the latest LTS version of Node.
|
||||
|
||||
## License
|
||||
|
||||
Mobicoop V3 - Logger Service is [AGPL licensed](LICENSE).
|
||||
|
||||
Reference in New Issue
Block a user