Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.7 KB

INSTALL.md

File metadata and controls

45 lines (31 loc) · 1.7 KB

Building the SmartGovLezModel simulator from sources

As a general note, SmartGovLezModel can run on docker and its full/detailed compiling instructions are thus available (Dockerfile).

Requirements

Building the simulator from sources will require that you first install the following tools/libraries

Building the simulator

First, clone this repository where you want to install the source code:

git clone https://github.com/smartgov-liris/SmartGovLezModel
cd SmartGovLezModel

Then 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 .jar java archive file of the project classes that will be placed in the build/libs sub-directory
  • build SmartGovLez-MASTER.jar, a shadow runnable archive, that will be placed at the root of the repository.
  • run all the unit tests.

Building the learning module

The PoliticRun task of the SmartGovLezModel, that learns relevant policies, uses Python and the following python libraries (as documented in the requirements)

  • Tensorflow
  • Keras