Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.36 KB

README.rst

File metadata and controls

54 lines (33 loc) · 1.36 KB

netseen

Python Version License Build Status Test Coverage

A basic REST API server which could provide layer 2 topology data.

quick start

manage.py

Before start, please set environment DATABASE_URL, or it will use sqlite by default.

$ pip install -r requirements.txt
$ python manage.py createdb
$ python manage.py create_admin
$ python manage.py runserver
    * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)
    * Restarting with stat
    * Debugger is active!
    * Debugger PIN: 330-625-128

docker-compose

First, please install docker-compose, then

$ docker-compose build -f docker-compose.yml
$ docker-compose up -f docker-compose.yml

Running on http://127.0.0.1:8080