Project configuration using configure.py

The basic configuration for your project is read from the file configure.py in your project root dir.

The file follows the data model specified in fastiot.cli.model.project.ProjectContext.

Some attributes you may add in many cases are the specification of a module with with your unittests (fastiot.cli.model.project.ProjectContext.test_package) and a deployment to run for the integration tests (fastiot.cli.model.project.ProjectContext.integration_test_deployment).

FastIoT usually detects services and deployments by itself. If you need to manage those lists yourself (attributes fastiot.cli.model.project.ProjectContext.services) or fastiot.cli.model.project.ProjectContext.deployments) you can use the methods fastiot.cli.helper_fn.find_services() and fastiot.cli.helper_fn.find_deployments() to create the corresponding lists.

Minimal setup

As FastIoT tries to set sensible defaults the configure.py can stay pretty small:

project_namespace = 'your_project'