Calcul de l'indexe d'égalité homme / femme dans les entreprises
ajouter le fichier .env
à la racine du projet
cp .env.sample .env
lancer le projet:
yarn start
docker-compose up --build
Action | API | body | Réponse |
---|---|---|---|
GET | api/version |
{ version: string } |
|
POST | api/indicators-datas |
{ } |
{id: string} |
PUT | api/indicators-datas/{id} |
{ id: string, data: string} |
{id: string, data: string} |
GET | api/indicators-datas/{id} |
{id: string, data: string} |
|
POST | api/indicators-datas/{id}/emails |
{ email: string } |
status = 200 ou 400 |
Trigger a custom build on Travis (in the "More options" right menu) on the master
branch with a custom config:
env:
global:
- RELEASE=true
You can change the lerna arguments though the LERNA_ARGS
variable.
env:
global:
- LERNA_ARGS="major --force-publish --yes"
- RELEASE=true
You need an Github token to release.
#
# Bump, push to git and publish to npm
$ GH_TOKEN=${GITHUB_TOKEN} yarn lerna version
#
# You might want to add a Gif to your release to make it groovy ;)