As a general note, SmartGovLezModel can run on docker and its full/detailed compiling instructions are thus available (Dockerfile).
Building the simulator from sources will require that you first install the following tools/libraries
- a git client
- openjdk 8
- the Osmosis tool
First, clone this repository where you want to install the source code:
git clone https://github.com/smartgov-liris/SmartGovLezModel
cd SmartGovLezModelThen build the java project with the help of Gradle CLI:
- Unix:
./gradlew build - Windows:
gradlew.bat build
The above command will
- compile the Java classes,
- build a simple
.jarjava archive file of the project classes that will be placed in thebuild/libssub-directory - build
SmartGovLez-MASTER.jar, a shadow runnable archive, that will be placed at the root of the repository. - run all the unit tests.
The PoliticRun task of the SmartGovLezModel, that learns relevant policies, uses Python and the following python libraries (as documented in the requirements)
- Tensorflow
- Keras