diff --git a/docs/konnectors/enedis-sge.md b/docs/konnectors/enedis-sge.md index 198c3a26cfa6292c113f05492215945c6f4fe83e..5de3d59ef49015a51f04c65e9b0fb67dd795aebd 100644 --- a/docs/konnectors/enedis-sge.md +++ b/docs/konnectors/enedis-sge.md @@ -38,29 +38,7 @@ In order to have better comfort while coding, we have enable ts-checking with vs ### Local dev -In order to local test you have to put the following configuration in `konnector-dev-config`: - -```json -{ - "COZY_URL": "http://cozy.tools:8080", - "fields": { - "pointId": "<POINT_ID>", - "lastname": "<LASTNAME>", - "firstname": "<FIRSTNAME>", - "address": "<ADDRESSE>", - "sgeLogin": "donnees.energie@grandlyon.com", - "postalCode": "<CP>", - "city": "<CITY>", - "contractId": "<CONTRACT_ID ex: 1234567>", - "wso2BaseUrl": "https://apis.grandlyon.fr", - "boBaseUrl": "https://ecolyo-agent-rec.grandlyon.com/api/sge", - "boToken": "<BO_TOKEN>", - "apiToken": "<SGE_TOKEN>" - } -} -``` - -Replace every `<***>` with your test values and corresponding secrets. +In order to local test you have to copy the [konnector-dev-config.example.json](https://forge.grandlyon.com/web-et-numerique/factory/llle_project/enedis-sge-konnector/-/blob/dev/konnector-dev-config.example.json?ref_type=heads) to `konnector-dev-config.json` and replace values and corresponding secrets. !!! warning "user consent" While running in dev mode, be sure to have user consent, either on production env or with enedis standard form. @@ -69,6 +47,7 @@ You can now run the following commands to run the konnector : ```sh yarn standalone #Run inside shell with no cozy env dependencies +yarn standalone-no-data #Run inside shell without getting any data yarn dev #Run with your local cozy. For this one you need local stack to run yarn onDeleteAccount:standalone #Run onDeleteAccount script yarn onDeleteAccount #Run onDeleteAccount script with real cozy