Skip to content

Latest commit

 

History

History
62 lines (42 loc) · 1.94 KB

README.md

File metadata and controls

62 lines (42 loc) · 1.94 KB

General Documentation

Environment setup for building: http://ssdocs.sixsq.com/en/latest/developer_guide/dependencies.html

mF2C CIMI Server

The CIMI server for the mF2C project. This project compiles the mF2C resources (and support code) and then generates a Docker container for running the service.

Building

This project uses Maven to control the overall build and Leiningen to build the clojure-specific resources. See the Maven documentation and Leiningen documentation for installing these tools.

This build will also create a Docker container for running the CIMI server. Consequently, you must have Docker installed; see the Docker documentation for that.

Once these tools are installed, you can build the full project (including unit tests) by running:

mvn clean install

in the top-level directory.

You can turn off the tests or container build by adding the options -DskipTests and -DskipContainers, respectively.

Push to the mF2C Docker Registry

Once the project has been successfully built, you'll be able to push the created Docker image into the public mF2C Docker Registry:

cd container
mvn -Ddocker.username=YOUR_DOCKER_USERNAME -Ddocker.password=YOUR_DOCKER_PWD docker:push

Running

Have a look at the _demo folder for an example on how to run the CIMI server.

Contributors

Contributors to this repository agree to release their code under the Apache 2.0 license.

License

Copyright by various contributors. See individual source files for copyright information.

DISTRIBUTED under the Apache License, Version 2.0 (January 2004).