No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.settings
gradle/wrapper
src/main/java/monto/service/python
.classpath
.gitignore
.project
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle
start.sh

README.md

Python Service for the Monto Broker

Building

Builds and dependencies are managed with Gradle.

./gradlew shadowJar builds a jar that includes all dependencies (using Shadow) under build/libs/services-python-all.jar.

This repository depends on services-base-java, which is referenced relatively in settings.gradle. You need to clone services-base-java separately and place it on the same level as this repository, so that it can be referenced with ../services-base-java.

Running

Start services with ./start.sh.

CLI Options

See PythonServices.java.

Developing

Setup your favorite IDE, then run or debug the PythonServices.java class and set the CLI arguments to the ones used in the start.sh script.

IntelliJ setup

After cloning, use the Import Project or File -> New -> Project from Existing Sources... feature and select the build.gradle to start the import.

For any subsequent Monto language services, use File -> New -> Module from Existing Sources....

Eclipse setup

Make sure you have a up-to-date Buildship Gradle Plug-in installed. At the time of writing Eclipse 4.5.2 (Mars 2) is the newest stable Eclipse build. It ships with the Buildship Gradle Plug-in version 1.0.8, but you will need at least 1.0.10, because of these changes. To update Buildship, use the Eclipse Marketplace's Installed tab.

After cloning, use the File -> Import -> Existing Projects into Workspace feature and select the cloned folder.