Installation: Difference between revisions
No edit summary |
No edit summary |
||
Line 52: | Line 52: | ||
If you would like to build Alida by yourself, e.g., for modifying or extending core functionality you should build and install Alida from the Github sources. | If you would like to build Alida by yourself, e.g., for modifying or extending core functionality you should build and install Alida from the Github sources. | ||
For compiling Alida you need to have installed the following software on your computer: | |||
* JDK 1.8 | |||
* Maven 3.x or higher | |||
* clone Alida's repository on Github: | For building Alida follow the instructions below: | ||
* clone Alida's repository on Github:<pre>git clone https://github.com/alida-hub/alida.git</pre> | |||
* compile the sources by running Maven as follows: <pre> mvn compile </pre> | |||
If you prefer to use an IDE like Eclipse you can easily import the Alida project into your workspace.<br> | |||
Just select 'File' -> 'Import...' and then under 'Maven' the item 'Existing Maven projects', and select as root the directory to where you cloned Alida's sources. For all other settings you can just stick to the defaults. |
Revision as of 12:25, 21 July 2016
On this page you find install instructions for Alida in Java.
For information about the C++ implementation refer to the C++ page to be found here.
Installing and Using Alida's Java version
There are different ways how to get and install Alida which are listed and explained below. Just select the option fitting to your needs and follow the instructions.
Trying Alida: Alida's binary distribution
If you would like to see how Alida, its operator runners and Grappa work the easiest is to download and run its binary distribution from the Maven repository server: Alida 2.7 on Maven repository server
Download the binary zip archive from the Artifacts section and extract the zip file to a directory of your choice.
Then change to that directory of the extracted files.
You can start Grappa (on Linux systems) using
tcsh ./runAlida.tcsh
or
bash ./runAlida.bash
If you grant execute permissions to these scripts you can start them directly, e.g.
./runAlida.tcsh
If you in addition modify the variable ALIDA_HOME in these scripts you can start them from any directory.
To run the graphical user interface to configure and start operators you may use
./runAlida.tcsh guioprunner
The command line interface is invoked, e.g., via
./runAlida.tcsh oprunner -h
which displays the help message.
Using Alida as a library in your own code
For using Alida as a library in your own code the most easy way to fulfill all requirements and dependencies is to use Maven.
Since Alida version 2.4 we offer a template Maven project which you can use as a starting point for your work:
- Maven-Template Project: zip
Just unzip the archive to a directory of your choice and follow the instructions in the README file included.
The project already defines all repositories and dependencies required to use Alida's functionality.
Building Alida from the Github sources and Contributing
If you would like to build Alida by yourself, e.g., for modifying or extending core functionality you should build and install Alida from the Github sources.
For compiling Alida you need to have installed the following software on your computer:
- JDK 1.8
- Maven 3.x or higher
For building Alida follow the instructions below:
- clone Alida's repository on Github:
git clone https://github.com/alida-hub/alida.git
- compile the sources by running Maven as follows:
mvn compile
If you prefer to use an IDE like Eclipse you can easily import the Alida project into your workspace.
Just select 'File' -> 'Import...' and then under 'Maven' the item 'Existing Maven projects', and select as root the directory to where you cloned Alida's sources. For all other settings you can just stick to the defaults.