Skip to content

lightsec/http_bs_lightsec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Base Station using liblightsec

HTTP-based implementation for a sample Base Station which uses liblightsec.

Installation

Why would you want to install it?

pip install git+https://github.com/lightsec/http_bs_lightsec.git

Requirements

The required packages are automatically installed in the procedure described above.

However, if you are going to contribute to this project, you might want to install only the project's dependencies in your virtualenv.

You can install them using the requirements.txt file in the following way:

pip install -r requirements.txt

Usage

  1. Run the web server.

    cd src/httplightsec; python run.py

  2. Go to /admin and create a sample user and a sample sensor associated to it.

  3. Go to /sensors/{sample-mac} and as you are not logged in, you will be redirected to the login page.

  4. Introduce the username and password of the sample user created before.

  5. Then, you will be reditected to /sensors/{sample-mac} and you will see the information from liblightsec's fourth step.

About

Sample Python HTTP server for Base Station.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published