From f45d8461910c2814e97718530c3f968168a15284 Mon Sep 17 00:00:00 2001
From: Aman Kumar Shrivastava
 <81643753+Coderaman-tech@users.noreply.github.com>
Date: Mon, 5 Jun 2023 19:14:22 +0530
Subject: [PATCH] Create setup_gitpod.md

---
 setup_gitpod.md | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
 create mode 100644 setup_gitpod.md

diff --git a/setup_gitpod.md b/setup_gitpod.md
new file mode 100644
index 0000000..2ce7598
--- /dev/null
+++ b/setup_gitpod.md
@@ -0,0 +1,35 @@
+# 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
-- 
GitLab