Mock server for Milvus Workflow
Milvus is a Database with RESTful API built with Python 3.10 and FastAPI.
Ensure you have the following installed:
- Anaconda
- Python 3.10
-
Clone the repository:
git clone https://github.com/kmseo-cryptolab/milvus-mock-server.git cd milvus-mock-server
-
Create a conda environment:
conda create -n milvus python=3.10 conda activate milvus
-
Install the dependencies:
pip install -r requirements.txt --no-deps # needs no deps option
Run the server with:
./run_server.sh
The API will be accessible at http://0.0.0.0:10103
.
To run the tests, ensure your conda environment is activated and execute:
pytest