From d446c97fc2fcb7353fad9c894cb204df46507d9e Mon Sep 17 00:00:00 2001 From: Aman Kumar Shrivastava <81643753+Coderaman-tech@users.noreply.github.com> Date: Mon, 5 Jun 2023 23:29:09 +0530 Subject: [PATCH] Update README.md --- README.md | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/README.md b/README.md index 877bc9a..f64fb65 100644 --- a/README.md +++ b/README.md @@ -78,6 +78,42 @@ npm -v  +# Setup gitpod to change in code and run on live server + +## By using npm + +1. cd/apps + + cd/wrapper + +2. run docker ps + + copy CONTAINER ID of wrapper + +3. run docker stop ID(copied on step2) + +4. run docker rm ID(copied on step2) + +5. run docker images + + copy IMAGE ID of wrapper + +6. docker rmi ID(copied on step5) + +7. make .env in wrapper directory + +8. REACT_APP_ENKETO_URL=COPY REACT_APP_ENKETO_URL FROM .env (main directory-WORKFLOW) + + REACT_APP_FORM_MANAGER_URL=COPY REACT_APP_FORM_MANAGER_URL FROM .env (main directory-WORKFLOW) + + REACT_APP_HASURA_URL=COPY REACT_APP_HASURA_URL FROM .env (main directory-WORKFLOW) + + +9. npm i --legacy-peer-deps +10. npm audit fix --force(1 or 2 times) + +11. npm run start + # How to integrate custom backend? -- GitLab