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