Installation
Dowload repo
You can downoal it from: https://github.com/DEIB-GECO/nmtf-web .
Or you can download it using git command:
git clone https://github.com/DEIB-GECO/nmtf-web
Or wget:
wget --no-check-certificate --content-disposition https://github.com/DEIB-GECO/nmtf-web
Or curl:
curl -LJO https://github.com/DEIB-GECO/nmtf-web
Install requirements
You can install nmtf-web directly on you device:
Be sure to have python 3.7 installed or you can create and eviorment with conda:
pip install conda
conda create -n my_env python=3.7
conda activate my_env
Install requirements:
pip install -r requirements.txt
In a Docker container
Or you can use a docker container:
Pull the image from DockerHub:
docker pull giuseppebocci/nmtf-web:latest
Create and start the container, mapping the port 5000 on the port 5000:
docker run -p 5000:5000 --name container_name giuseppebocci/nmtf-web
Run app
If you installed requirements with pip use:
cd nmtf-web
python app.py
To start the Docker container after the first time:
docker start -a container_name