unical1988 commented on code in PR #1244:
URL: https://github.com/apache/answer/pull/1244#discussion_r1946802958


##########
ui/src/pages/Install/components/SecondStep/index.tsx:
##########
@@ -113,6 +113,14 @@ const Index: FC<Props> = ({ visible, data, changeCallback, 
nextCallback }) => {
     nextCallback();
   };
 
+  //checkbox for sslmode enabled or not
+  const [checked, setChecked] = useState(false);
+
+  const handleChange = () => {
+    // Change state to the opposite when checkbox changes
+    setChecked(!checked);
+  };
+

Review Comment:
   I first do:
   `go build -gcflags="all=-N -l" -o testApp.exe`
   
   and then I execute `answer init` I get: 
   
   ```
   [upload-dir] try to install...
   [upload-dir] install success, upload directory is \data\uploads
   [i18n] try to install i18n bundle...
   [i18n] find i18n bundle 45
   install all initial environment done
   config file exists, try to read the config...
   config file read successfully, try to connect database...
   connect to database successfully and table already exists, do nothing.
   ```
   
   Which I don't want, but I want to reinitiate the process of installation.
   How to do that?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@answer.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to