From 4c5130098b64267258abf339344ccf7fd68062a7 Mon Sep 17 00:00:00 2001 From: Abhishek Mishra Date: Thu, 13 Oct 2022 17:45:30 +0530 Subject: [PATCH] Changes for enketo ports --- package.json | 6 +++--- packages/enketo-express/config/default-config.json | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index eeeb59f1..f8e9e5da 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "turbo run build", "docker-cleanup": "docker rm -f enketo-redis-main enketo-redis-cache", "enketo-core": "cd packages/enketo-core && npm i && npm start", - "enketo-express": "cd packages/enketo-express && docker run --name enketo-redis-main -p 6379:6379 -d redis && docker run --name enketo-redis-cache -p 6380:6379 -d redis && npm i && npm i -g grunt && grunt develop", + "enketo-express": "cd packages/enketo-express && docker run --name enketo-redis-main -p 6381:6379 -d redis && docker run --name enketo-redis-cache -p 6382:6379 -d redis && npm i && npm i -g grunt && grunt develop", "form-manager": "cd packages/form-manager && npm i && npm start", "wrapper": "cd apps/wrapper && npm i && npm start", "concurrent-packages": "concurrently \"npm run enketo-core\" \"npm run enketo-express\" \"npm run form-manager\"", @@ -16,8 +16,8 @@ "start-redis-cache": "docker run --name enketo-redis-cache -p 6380:6379 -d redis", "start-redis-main": "docker run --name enketo-redis-main -p 6379:6379 -d redis", "start-ec": "cd enketo-core && npm start", - "start-ee": "cd enketo-express && grunt develop", - "start-fm": "cd form-manager && npm run start:dev", + "start-ee": "cd packages/enketo-express && grunt develop", + "start-fm": "cd packages/form-manager && npm run start:dev", "start-web": "cd wrapper && npm start" }, "workspaces": [ diff --git a/packages/enketo-express/config/default-config.json b/packages/enketo-express/config/default-config.json index 18b9f020..5e85b1ad 100644 --- a/packages/enketo-express/config/default-config.json +++ b/packages/enketo-express/config/default-config.json @@ -1,6 +1,6 @@ { "app name": "Enketo Smart Paper for KoBoCAT", - "port": "8005", + "port": "8065", "offline enabled": true, "id length": 8, "linked form and data server": { @@ -91,12 +91,12 @@ "redis": { "main": { "host": "0.0.0.0", - "port": "6379", + "port": "6381", "password": null }, "cache": { "host": "0.0.0.0", - "port": "6380", + "port": "6382", "password": null } }, @@ -110,5 +110,5 @@ "validate page": true, "payload limit": "100kb", "text field character limit": 2000, - "formManagerBaseURI": "http://localhost:3002" + "formManagerBaseURI": "https://fm.dst.samagra.io" }