|
| 1 | +<p align="center"> |
| 2 | + <a href="http://nestjs.com/" target="blank"><img src="https://nestjs.com/img/logo-small.svg" width="200" alt="Nest Logo" /></a> |
| 3 | +</p> |
| 4 | + |
| 5 | +[circleci-image]: https://img.shields.io/circleci/build/github/nestjs/nest/master?token=abc123def456 |
| 6 | +[circleci-url]: https://circleci.com/gh/nestjs/nest |
| 7 | + |
| 8 | + <p align="center">A progressive <a href="http://nodejs.org" target="_blank">Node.js</a> framework for building efficient and scalable server-side applications.</p> |
| 9 | + <p align="center"> |
| 10 | +<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/v/@nestjs/core.svg" alt="NPM Version" /></a> |
| 11 | +<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/l/@nestjs/core.svg" alt="Package License" /></a> |
| 12 | +<a href="https://www.npmjs.com/~nestjscore" target="_blank"><img src="https://img.shields.io/npm/dm/@nestjs/common.svg" alt="NPM Downloads" /></a> |
| 13 | +<a href="https://circleci.com/gh/nestjs/nest" target="_blank"><img src="https://img.shields.io/circleci/build/github/nestjs/nest/master" alt="CircleCI" /></a> |
| 14 | +<a href="https://coveralls.io/github/nestjs/nest?branch=master" target="_blank"><img src="https://coveralls.io/repos/github/nestjs/nest/badge.svg?branch=master#9" alt="Coverage" /></a> |
| 15 | +<a href="https://discord.gg/G7Qnnhy" target="_blank"><img src="https://img.shields.io/badge/discord-online-brightgreen.svg" alt="Discord"/></a> |
| 16 | +<a href="https://opencollective.com/nest#backer" target="_blank"><img src="https://opencollective.com/nest/backers/badge.svg" alt="Backers on Open Collective" /></a> |
| 17 | +<a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://opencollective.com/nest/sponsors/badge.svg" alt="Sponsors on Open Collective" /></a> |
| 18 | + <a href="https://paypal.me/kamilmysliwiec" target="_blank"><img src="https://img.shields.io/badge/Donate-PayPal-ff3f59.svg"/></a> |
| 19 | + <a href="https://opencollective.com/nest#sponsor" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a> |
| 20 | + <a href="https://twitter.com/nestframework" target="_blank"><img src="https://img.shields.io/twitter/follow/nestframework.svg?style=social&label=Follow"></a> |
| 21 | +</p> |
| 22 | + <!--[](https://opencollective.com/nest#backer) |
| 23 | + [](https://opencollective.com/nest#sponsor)--> |
| 24 | + |
| 25 | +## Description |
| 26 | + |
| 27 | +Daemon pour Sesame. Le demon est chargé d'executer les backends sur les ordres de l'orchestrator |
| 28 | +## Installation developpement |
| 29 | +un environnement de developpement est donné en docker |
| 30 | +### Docker |
| 31 | +#### contruisez l'image : |
| 32 | +dans ./docker |
| 33 | +````bash |
| 34 | +docker-compose build |
| 35 | +```` |
| 36 | +Puis lancer le |
| 37 | +````bash |
| 38 | +docker-compose up -d |
| 39 | +```` |
| 40 | +#### Installation |
| 41 | +````bash |
| 42 | +docker exec sesame-daemon yarn |
| 43 | +```` |
| 44 | +#### Lancez l'application en mode dev ou debug |
| 45 | +copier env.exemple en .env |
| 46 | +editer et regler les variable d'environnements |
| 47 | +``` |
| 48 | +# Host Redis (defaut "localhost") |
| 49 | +REDIS_HOST=redis |
| 50 | +# Port Redis (defaut 6379) |
| 51 | +REDIS_PORT=6379 |
| 52 | +# User redis defaut '' |
| 53 | +REDIS_USER= |
| 54 | +# Mot de passe de User defaut '' |
| 55 | +REDIS_PASSWORD= |
| 56 | +# Chemin des backends par defaul le repertoire backends du projet |
| 57 | +#BACKENDS_PATH= |
| 58 | +# nom de la queue bullMQ ( defaut: 'backend') |
| 59 | +#NAME_QUEUE= |
| 60 | +``` |
| 61 | +Vous etes pret |
| 62 | +````bash |
| 63 | +docker exec sesame-daemon yarn start:dev |
| 64 | +```` |
| 65 | + |
| 66 | +### complation du daemon en un executable |
| 67 | + |
| 68 | +``` |
| 69 | +#npm i -g pkg |
| 70 | +#pkg dist/main.js -o sesame-daemon |
| 71 | +``` |
| 72 | + |
| 73 | +### Installation système |
| 74 | +#### Debian |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | +## License |
| 79 | + |
| 80 | + |
0 commit comments