Skip to content

wemulate/wemulate-api

Repository files navigation

A modern WAN Emulator developed by the Institute for Networked Solutions

WEmulate API Module

This is the API module which builds on the CLI module.

Have a look at the documentation for detailed information.

Installation

It is installed with the -a parameter from the documented install command for WEmulate.

Development

Configure poetry to create the environment inside the project path, in order that VSCode can recognize the virtual environment.

$ poetry config virtualenvs.in-project true

Install the virtualenv.

$ poetry install

Start the application with the following command:

$ uvicorn api.app:app --host 0.0.0.0 --port 8080 --reload