Skip to content
forked from liuct/smartAT

web server provides web UI for managment of test tasks and test devices

Notifications You must be signed in to change notification settings

shaofang/smartAT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prerequirement

  • Ubuntu 12.04
  • Python 2.7

Installation

  • Libraries

    Before installing python packages, we must make sure next libraries are installed: libsssl, python-dev, livevent.

    $ sudo apt-get install libssl-dev python-dev libevent-dev
    
  • Python Packages. It's strongly recommended to install python packages using virtual environment.

      $ pip install -r requirements.txt --use-mirrors
    

Run the web server

We defines below env variables:

  • ZK_URI: url://:
  • WEB_PORT: port of the web server

Start server using below command:

$ python app.py

It will read configuration from environment, and use default in case of no defination in environment.

Or we can define env in command line:

$ ZK_URI=192.168.7.201:2181 WEB_PORT=8080 python app.py

About

web server provides web UI for managment of test tasks and test devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 91.5%
  • JavaScript 6.3%
  • Python 2.2%