Purpose

Use this documentation to install a local version of the product from the artifact repository. At the end of the install you get a running version of all services on the same machine.

HephIA-init

A repository to store all the setup and init scripts to install HephIA-product In order to pull and run all the hephia services, we need to make some setups. For a project, we have 2 ressources :

  • DSLab For this phase, we need to install those packages if it isn’t
    • Python 3.9.2 (install-python 3.9.2)
    • Docker(install-docker)
    • Docker Compose(install-docker-compose)
    • Gcloud (install-gloud-sdk)
  • Mongo Database For this phase, we need to have mongo installed

Step 1: Fetch the project Before cloning the project, connect with ssh following this tuto.

git clone git@github.com:HephIA-scalableIntelligence/HephIA-init.git
#Moving to the project
cd HephIA-init

Use the script named configure:

bash configure.sh compute-sa.json

The compute-sa.json can be find in the credential storage of hephia.

Init the client with the command: Specifying the arguments -r (ressource): which ressource(client/mongo) is required -e (environement): which environement(dev/staging/prod) we are in.

hephia init -r client -e dev 3.9.2
#3.9.2 is the python version used
hephia run -r client -e dev