Skip to content
ploiu edited this page Aug 5, 2021 · 2 revisions

Welcome to the mock-server wiki!

This wiki serves as a simple guide for using the mock server from both the command line and the GUI.

Starting the server

I highly suggest you run Make install once you clone the project, this allows you to run the server anywhere.

Once you run make install, you can start the server simply by running mockServer in the command line. You can also tweak a few settings with these flags:

flag description
--help, -h Show help message
--config, -c specify config file path, defaults to ./config.json (see config format)
--port, -p specify which port the server runs on, defaults to 8000
--load-ui, -l generates files for the ui. Once these are generated you don't need to pass this flag in unless the ui code has been updated
Clone this wiki locally