In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/03 Report--
In this issue, Xiaobian will bring you about how to use Docker Compose to install DOClever. The article is rich in content and analyzed and described from a professional perspective. After reading this article, I hope you can gain something.
What is DOClever?
DOClever is a visual free open source interface management tool, which can analyze interface structure, verify interface correctness, define documents around interfaces, and improve our collaboration efficiency through a series of automation tools. DOClever uses javascript as our development language, vue+element UI at the front end and express+mongodb at the back end. This framework integrates the characteristics of high concurrency and fast iteration to ensure the stability and reliability of the system.
Main Features:
·You can edit and manage interface information, support get,post,put,delete,patch five methods, support https and https protocols, and support query, body, json, raw, rest, formdata parameter visual editing. At the same time, json can be infinitely hierarchical visual editing. And, status code, code injection, markdown documentation and other additional features have everything.
·Interface debugging operation, you can encrypt parameters, from md5 to aes, return parameters and model real-time analysis and comparison, give inconsistencies, find out possible interface problems. If you don't want to handwrite documents, try the interface's data generation function, which can generate document information with one click on the data run by the interface.
·Seamless integration of mocks. DOClever itself is a mock server. When you set the development status of the interface to complete, the local mock will automatically request the real interface data, otherwise it will return the predefined mock data.
·Support postman, rap, swagger import, convenient for you to do seamless migration, but also support html file export, convenient for you offline browsing!
·Project version and interface snapshot function parallel, you can define version 1.0, 1.1, 1.2 for a project, and can freely switch between different versions, no longer afraid of interface information loss, while the interface also has snapshot function, when you interface development halfway or interface requirements change, you can view the interface information edited before.
Automatic test function. Most of the interface automatic tests on similar platforms on the market are pseudo-automation. For a complex scenario, such as obtaining Captcha, logging in, obtaining order list, obtaining a series of context-related operations such as details of a specific order, there is nothing to do. DOClever's original automatic test function only requires you to write a small amount of javascript code to complete such a series of operations in the web page. At the same time, DOClever also provides the function of executing test cases in batches and sending the results to team members 'mailboxes in the background. You can get the running status of the interface in time.
·Team collaboration function, many similar platforms such functions are charged, but DOClever feels that good things need to be shared, you can create a new team, and pull in the team members, group them, assign them related projects and permissions, publish team announcements, etc.
DOClever official website: doclever.cn/controller/read/read.html
If you can't open it, click this link: www.worldlink.com.cn/en/osdir/doclever.html
Second, use Docker Compose to install DOClever steps
1. Create docker-compose. yml using vi docker-compose. yml and write the content
version: '2'services: DOClever: image: lw96/doclever restart: always container_name: "DOClever" ports: - 10000:10000 volumes: - /srv/doclever/file:/root/DOClever/data/file - /srv/doclever/img:/root/DOClever/data/img - /srv/doclever/tmp:/root/DOClever/data/tmp environment: - DB_HOST=mongodb://mongo:27017/DOClever - PORT=10000 links: - mongo:mongo mongo: image: mongo:latest restart: always container_name: "mongodb" volumes: - /srv/doclever/db:/data/db
Start the container using docker-compose up -d
3. Use docker ps -a to view the container startup
4, access your server domain name/IP:10000(if you can not access to please check whether to release the port)
5. Enter the management background. The default account and password are: DOClever
6. For details on how to use DOClever, please refer to DOClever official website: doclever.cn/controller/read/read.html
If you can't open it, click this link: www.worldlink.com.cn/en/osdir/doclever.html
The above is how to use Docker Compose to install DOClever, if there is a similar doubt, you may wish to refer to the above analysis to understand. If you want to know more about it, please pay attention to the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.