Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 1.1 KB

File metadata and controls

34 lines (21 loc) · 1.1 KB

camp2docker

Utility to transform a CAMP plan into Docker and fig files

CAMP

CAMP is a standard from OASIS defining a standardised interface and application description model (CAMP PDP)

Development environment

Use virtualenv to created an isolated development environment: virtualenv env

Install dependencies with pip: pip install requirements.txt

Docker

You can build directly the Docker image from this repository with docker build git@github.com:thlacroix/camp2docker.git

Configuration

The configuration files are in the config directory.

CLI

Run the CLI with:

python camp2docker.py process <planfile> to show the result in the terminal

python camp2docker.py generate <planfile> <output_folder> to generate the files in <output_folder>

Test

Use nosetest tests/unit on the root directory to run all the tests

License

MIT