-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
Everything should work on all platforms but we only give step by step instructions for Ubuntu (and notes for Windows).
This section explains how to configure your programming environment to set up the GOOL system. Some steps are important for the whole system whereas others are only required by a specific input/output language and can be left out, depending on your usage of the GOOL System.
- Install Git from Debian packages:
sudo apt-get install git- Install Java8 from Debian packages:
sudo apt-get install openjdk-8-source openjdk-8-jdkNotes for Windows :
- Install Git from git-scm.com
- Install Java SE Development Kit 8 from oracle.com.
- Install C# from Debian packages (see official mono site):
sudo apt-get install mono-devel mono-mcsNotes for Windows :
- Download the last .NET Framework from the Microsoft website and install it.
- Add the install directory in your
Windows Path. For example :C:\Windows\Microsoft.NET\Framework64\v4.0.30319
- Install C++ from Debian packages:
sudo apt-get install g++- Install C++/Boost libraries from Debian packages:
sudo apt-get install libboost-all-dev- Install C++/Eclipse plug-in:
sudo apt-get install eclipse-cdtNotes for Windows :
- Download MinGW from http://www.mingw.org/ and install it.
- Add the bin folder to your
Windows Path. For example :C:\MinGW\bin - Download boost from http://www.boost.org/ and place the boost folder at the root directory of your Git project. For example :
C:\Users\MyUserName\git
The python output is given in python 2.7 but compatible with python 3. To compile it do use the standard python 2.7 compiler provides with your OS. You can also use the fully integrated python solution provided by Anaconda.
After setting up your programming environment, you can clone the GOOL repository locally:
git clone https://github.com/librecoop/GOOL.gitWithin the gool directory you will find the following directories:
-
src: contains all gool java sources. -
tests: default GOOL translation directories for the manual translations (see Usage). -
lib: GOOL dependencies. -
Elements: front-end js and css files. -
gradleand.settings: gradle wrapper directories.
In the src directory, you will find two different kind of sources. The test sources within src/test and the main sources within the src/main directory.
In the src/main/ressources directory you should find two critical files for GOOL:
-
gool.properties.examplecontains the typical configuration properties. -
gool.propertiescontains your configuration.
If gool.properties does not exist, rename the typical configuration file to create it.
To launch the GOOL tests, from the root directory, launch:
./gradlew testAll tests must pass. If not you can access the test results in the file build/reports/tests/index.html, look what is wrong and if it does not help do not hesitate to open an issue on the project.
Many things has not been systematically tested in GOOL as you can see in the tests coverage result in the file /build/jacocoHtml/index.html. Any help is welcome!