HTTP-based implementation for a sample Base Station which uses liblightsec.
Why would you want to install it?
pip install git+https://github.com/lightsec/http_bs_lightsec.git
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
-
Run the web server.
cd src/httplightsec; python run.py
-
Go to /admin and create a sample user and a sample sensor associated to it.
-
Go to /sensors/{sample-mac} and as you are not logged in, you will be redirected to the login page.
-
Introduce the username and password of the sample user created before.
-
Then, you will be reditected to /sensors/{sample-mac} and you will see the information from liblightsec's fourth step.