Update usage instruction

This commit is contained in:
agatha 2023-09-07 20:09:06 -04:00
parent a9e0e599f0
commit 3b75a8dc87

View File

@ -4,19 +4,23 @@ other HTTP-related code.
## Requirements ## Requirements
Requires either [Mockoon Desktop](https://mockcoon.com/download) or Requires either [Mockoon Desktop](https://mockcoon.com/download) or
[Mockoon CLI](https://hub.docker.com/r/mockoon/cli) [Mockoon CLI](https://hub.docker.com/r/mockoon/cli).
## Features ## Features
- JSON responses - JSON responses
- Randomized HTTP responses - Randomized HTTP responses
## Usage ## Usage
Import the environment file [mockoon-env.json](mockoon-env.json) into Mockcoon Desktop and click "Start Server".
For a more simple deployment use Docker:
```shell ```shell
docker compose up docker compose up
``` ```
Requests will be served at http://localhost:3000 unless another port is specified Requests will be served at http://localhost:3000 unless another port is specified
in the compose file. in the Mockcoon environment settings or the [docker-compose.yml](docker-compose.yml) file.
## Routes ## Routes