Mock Recipe Server

The mock recipe server is a set of static files that mimic the recipe server’s API to allow for testing of the Runtime against test data easily.

Automation is typically set up to run this automatically, but you can manually generate the files as well.


Generating Files

  1. If this is your first time generating the files, you must run the setup script to create the docker containers used for building the files:

    # From the root of the repo
    cd mock-recipe-server
  2. Run the file, passing in the path where you wish to save the generated files, and the domain to use for absolute URLs:

    ./bin/ /path/to/directory