Model server is similar to MDR. It supports simple bookkeeping of models. This server helps user to do some of the basic operations like creating a user in DB, list the models of a particular user and upload a model under a specific user permission.
- JDK 8. OpenJDK 8 can be used without any issues.
- Scala: Version 2.11.12
- The binaries should be in the path
- Maven: Version 3.3.9 or above - The binaries should be in the path
- [Optional, for development] IntelliJ IDEA Community Edition
Following are the links for docker installation.
cd ModelServer
mvn clean package -DskipTests
-
cd ../Docker
-
To run the complete test suite:
./run-docker.sh "test"
The following commands would drop you into a docker bash shell with all ModelServer dependencies ready. There you can run other usual commands.
cd ../docker
./run-docker.sh
It is also possible to mount a host folder with your data into the docker container, and use those files and folders. For example, to load /home/abc
from host to docker, use the following command:
./run-docker.sh -m /home/abc
Once you are inside the container, this folder will be available at /modelserver/project
inside the container.