* flask
* flask_restful
+## Run REST API in standalone mode (without emulator):
+* `python src/emuvim/api/sonata/dummygatekeeper.py`
+
## Run emulator example with active SONATA dummy gatekeeper:
The example starts a small network with two data centers.
</table>
-## Run REST API in standalone mode (without emulator):
-This is not working yet!!!
-* `python src/emuvim/api/sonata/dummygatekeeper.py`
\ No newline at end of file
+
+
+
+## Cleanup
+The dummy GK will store some files in your tmp folder in order to fake "catalogues" and "repositories" etc.
+
+* ` sudo rm -r /tmp/son-dummy-gk/`
\ No newline at end of file
LOG.setLevel(logging.DEBUG)
logging.getLogger("werkzeug").setLevel(logging.WARNING)
-
-UPLOAD_FOLDER = "/tmp/son-dummy-gk/uploads/"
-CATALOG_FOLDER = "/tmp/son-dummy-gk/catalog/"
+GK_STORAGE = "/tmp/son-dummy-gk/"
+UPLOAD_FOLDER = os.path.join(GK_STORAGE, "uploads/")
+CATALOG_FOLDER = os.path.join(GK_STORAGE, "catalog/")
# flag to indicate that we run without the emulator (only the bare API for integration testing)
GK_STANDALONE_MODE = False