Skip to content

Commit

Permalink
misspelled
Browse files Browse the repository at this point in the history
  • Loading branch information
GiuseppeBocci authored Sep 3, 2023
1 parent 0a9be1b commit c68c9ee
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 15 deletions.
36 changes: 22 additions & 14 deletions docs/_sources/install.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,29 @@ Installation

Dowload repo
=============
You can downoal it from: https://github.com/DEIB-GECO/NMTF-web .
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
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
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
curl -LJO https://github.com/DEIB-GECO/nmtf-web
Install requirements
=====================

On your computer
-----------------
You can install web_app_nmtf directly on you device:
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:

Expand All @@ -44,25 +41,36 @@ You can install web_app_nmtf directly on you device:
pip install -r requirements.txt
In a docker container
----------------------
Or youc can use a docker container:
In a Docker container
=====================
Or you can use a docker container:

1. Pull the image from DockerHub:

.. code-block:: console
docker load < nmtf_web.tar
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
If you loaded the docker map the port 5000 and run a container using:
To start the Docker container after the first time:

.. code-block:: console
docker run -p 5000:5000 nmtf_web
docker start -a container_name
4 changes: 4 additions & 0 deletions docs/install.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,10 @@ <h2>In a Docker container<a class="headerlink" href="#in-a-docker-container" tit
<section id="run-app">
<h2>Run app<a class="headerlink" href="#run-app" title="Permalink to this heading"></a></h2>
<p>If you installed requirements with pip use:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">cd nmtf-web</span>
<span class="go">python app.py</span>
</pre></div>
</div>
<p>To start the Docker container after the first time:</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="go">docker start -a container_name</span>
</pre></div>
Expand Down
Loading

0 comments on commit c68c9ee

Please sign in to comment.