Docker Compose is needed to set up this project on dev machine.
To start the docker container
$ docker-compose upTo build/rebuild the docker container
$ docker-compose buildTo login into python container
docker exec -it $(docker ps | grep "python-ml-env_api" | awk '{print $1}') bash-
Clone the specific claim in the claims directory.
-
Add the requirements in the requirements.txt directory.
-
Build/rebuild the docker container
-
Login to the python shell.
docker exec -it $(docker ps | grep "python-ml-env_api" | awk '{print $1}') bash
-
From this shell, run the commands as specified in the claimant's repo readme file.
-
To change the Python version, modify the line number 1 of Dockerfile.
- Search for the library in the website https://pypi.org.
- Then match the specified version as per the claimant's repo readme file.
- It should be available.
- If it is available, then add the same requirement in requirements.txt.