Skip to content

How to install

telmomenezes edited this page Sep 15, 2014 · 3 revisions

Synthetic is currently distributed in source code. It was developed in Java, so it should be easy to compile and use in a variety of machines and operating systems. It comes with a Maven project, which can be used directly or imported to your favourite IDE.

Step 1: download the source code

The project is hosted at github, and you can obtain the source code here: https://github.com/telmomenezes/synthetic

Step 2: build the jar

The root of the project contains a pom.xml file, that can be used directly with Maven or used to import the project into your IDE.

To create the jar directly with Maven:

$ mvn assembly:assembly

Other environments:

Step 3: execute from the command line

After building successfully, a jar file will be available under target on the project directory. To run it from the command line:

$ java -jar synthetic-1.0-SNAPSHOT-jar-with-dependencies.jar

This should give you a list of available commands. An install script is provided for UNIX-like operating systems (Linux, OS X, etc.). On the root of the project directory run:

$ sudo ./install.sh

This will make the synt command available from everywhere. This command executes the jar and passes it its parameters. For example:

$ synt help evo

Next: Tutorial