tree: a9ac3fed6d51ced84a74b3e2624ec00ef43ec25d [path history] [tgz]
  1. nemowebserver/
  2. .gitignore
  3. README.md
  4. setup.py
webui/README.md

Nemo Web Server

A stand-alone web server which provides RESTful API for tracking Nemo jobs.

Prerequisites

  • Linux or MacOS
  • Python 2.7 or higher
# On Ubuntu
sudo apt-get install python
# On MacOS
brew install python
  • Flask 0.12.0 or higher
pip install flask
  • SQLAlchemy
pip install sqlalchemy
  • SQLite
# On Ubuntu
sudo apt-get install sqlite3 libsqlite3-dev
# On MacOS
brew install sqlite

How to run it

export FLASK_APP=/path/to/nemo/webui/nemowebserver/__init__.py
flask run

The server runs on “localhost:5000”.