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


##########
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 have a question: how to deal with the certification keys?
   
   You can refer to the process of passing and using formData data in any step. 
All keys are initialized in FormData, click Next to save only the current data 
in FormData, know that the last step is completed together for submission.
   
   So what you need to do first is to initialize the key of the parameters you 
need to submit in the formData format, and then do the corresponding processing 
according to the current step's value transmission and data processing logic.
   
   >also after executing answer init (for the installation) how to empty the 
cache again? (it seems that all next executions will skip the installation 
phase, and I want to test the installation phase, so I need to empty db cache). 
where to find the db_cache folder?
   
   There is a processing in the program. If it is detected that the 
installation step has been performed, the step will be automatically skipped 
next time.
   
   If you remember the directory where your data is saved, you just need to 
delete all the contents in that directory and recompile it.
   
   
   
   
   



-- 
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