After I followed this tutorial to set up and started, it appeared 404 is not accessible, so I changed the access port, instead of 10000, the access succeeded after using 9999, it should be my port problem
To modify the port, just modify the port in Doclever's config.json, this file is at the same level as the server
Moved from: https://www.cnblogs.com/fcholy/p/10880747.html Thanks to the blogger: One Two Three Four Five
DOCLever environment construction
Introduction
DOClever is a visual free and open source interface management tool that can analyze the interface structure, verify the correctness of the interface, define documents around the interface, and improve our collaboration efficiency through a series of automated tools.
Environment setup
ready:
node:
Official download: https://nodejs.org/en/
mongodb:
Official download <Hao Annoying>: https://www.mongodb.com/
Windows version: http://dl.mongodb.org/dl/win32/x86_64
Linux version: http://dl.mongodb.org/dl/win32/x86_64
robomongo:
Official download: https://robomongo.org/download
doclever:
GitHub download: https://github.com/sx1989827/DOClever
Code cloud download: https://gitee.com/sx1989827/SBDoc
Environment setup:
node:
After selecting the path, continue to the next step until the installation is completed
cmd verify whether the installation is successful cmd---> node -v
mongodb:
After selecting the path, continue to the next step until the installation is completed
Note: Someone may be stuck when installing the progress page (Picture 1), you need to remove the check status below (Picture 2) during installation.
robomongo:
After selecting the path, continue to the next step until the installation is completed
1. Open robomongo, create a database link, I am connected to a local database, and the address is modified according to my own situation
2. Connect to the database and create DOClever library
doclever:
1. According to your own needs, unzip the compressed package to a specific directory <no specific requirements, such as: D:\doclever>
2. Set and start doclever, enter the command line node D:\doclever\Server\bin\www under cmd to set the address
3. Enter the command line mongodb://localhost:27017/doclever to set the database address
4. After prompting that the directory is created successfully, follow the window prompts and enter the port number <e.g. 8080> The port number is free, as long as it is not occupied
Environment deployment is complete, open the browser, enter the address http://localhost:8080, the port number is based on the previous setting
note:
The window for executing the command line node D:\doclever\Server\bin\www cannot be closed, and the website will not be accessible after closing
You can use batch files to execute the command line.