You can create, in an interactive way, a new configuration file for your app as follow:

$ mse cloud init
We need you to fill in the following fields

App name: test
Project name [default]:
Hardware name [4g-eu-001]:
Docker url []:
Code location [mse_src]: .
Tests location [tests]: .
Python application [app:app]:
Health check endpoint [/]:
Your app configuration has been saved in: /home/user/app/mse.toml

The configuration file for the previous example would be:

name = "test"
python_application = "app:app"
healthcheck_endpoint = "/"
tests_cmd = "pytest"
tests_requirements = [ "intel-sgx-ra>=1.0.1,<1.1", "pytest==7.2.0",]

code = "mse_src"
tests = "tests"
docker = ""
project = "default"
hardware = "4g-eu-001"

© Copyright 2018-2024 Cosmian. All rights reserved.