Cortical Labs Application Runner

This module is a command-line tool only and cannot be imported directly. This tool is only intended for use in development of applications, and should only be run on a local machine. This module does not perform any safety or validation checks.

Usage:
python -m cl.app.run <target_directory> <configuration JSON path>

The target directory is treated as the base application folder. If the application has a custom visualiser implemented, the visualiser will be launched in the default web browser upon starting the run. A valid configuration JSON file must also be provided as an argument.

Example:

Run an application located in my-app/:

<div class="pdoc-code codehilite">
<pre><span></span><code>python<span class="w"> </span>-m<span class="w"> </span>cl.app.run<span class="w"> </span>my-app<span class="w"> </span>my-app/default.json
</code></pre>
</div>

cl.app.run