Commit 0d156b1d authored by David Foucher's avatar David Foucher

Update Readme

parent 895b0bdb
......@@ -38,11 +38,14 @@
Exemple:
trefle simulate --context='{"beneficiaire":{"inscrit_pe":true,"age":40},"formation":{ "codes_financeur":[2],"region":27,"heures":4000}}' --trace
## Run the dev server
## Run the backoffce in dev mode
trefle serve
cd backoffice
and go to url : http://127.0.0.1:3579/explorer/index.html
npm install
npm run serve
and go to url : http://127.0.0.1:8080/explorer
## Run unittests
......@@ -59,3 +62,25 @@ Get a detailed coverage report:
Get a more detailed coverage report:
behave -D coverage-format=long
## Build project in PROD mode
Go to docker file
Add this env var:
VERSION api-vX.X.X
OLD_VERSION api-vX.X.X
BACK_VERSION backoffice-vX.X.X
LBF_CHARMAP "sA,4B,RC,cD,oE,gF,yG,wH,mI,HJ,7K,EL,aM,YN,XO,8P,GQ,BR,kS,iT,IU,AV,TW,DX,pY,JZ,2a,Lb,Mc, d,de,Cf,Qg,fh,ri,Pj,Nk,Vl,vm,0n,Ko,ep,jq,Zr,9s,ht,Fu,tv,-w,Ux,1y,xz,30,u1,52,q3,W4,S5,66,n7,b8,O9,_+,l/,z "
CATALOG_USER TREFLE
CATALOG_KEY 7482dd55a687e405521bd95e72ac70fa8ac0e671
CATALOG_URL https://labonneformation.pole-emploi.fr/api/v1/detail
TREFLE_GIT https://git.beta.pole-emploi.fr/open-source/trefle.git
where X.X.X is a tag of the TREFLE_GIT
OLD_VERSION and BACK_VERSION must be compatible
docker-compose up --build -d
logs are in docker/logs
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment