ipa-nhg / ros-model-cloud-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ros-model-cloud

Start the flask app

Install virtualenv

     sudo apt-get install python-virtualenv

Create venv and install the requirements:

     cd extractor-interface
     virtualenv --python=python2.7 venv
     . venv/bin/activate
     pip install -r requirements.txt

Run the app:

     export MODEL_PATH={Path to the location where the file with the model is saved}
     export HAROS_RUNNER={Path to the location of the haros runner script}
     export HAROS_SRC={Path to the HAROS src folder}
     gunicorn -k flask_sockets.worker wsgi:app

Open http://127.0.0.1:8000 in a browser.

About


Languages

Language:Python 47.9%Language:JavaScript 31.6%Language:HTML 11.8%Language:Dockerfile 4.3%Language:CSS 2.6%Language:Shell 1.7%