mirror of
https://codeberg.org/prof_x_pvt_ltd/captive.whump.shanti-portal
synced 2024-08-14 22:46:42 +00:00
some more info here.
This commit is contained in:
parent
1bf19c791b
commit
7c67525f85
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -3,3 +3,15 @@
|
|||
This is supposed to be a captive portal webpage.
|
||||
|
||||
Work in progress right now.
|
||||
|
||||
# Plugins
|
||||
|
||||
Plugins are executed when the user clicks through the captive portal form, whether they submit data or just approve an EULA these plugins are executed.
|
||||
|
||||
Plugins accept data from the request of the user, as of writing this is only wsgi environ data.
|
||||
|
||||
There is a sample plugin called logging.py. Plugins are merely rq jobs that are executed by an rq worker. As such they can only be so complex.
|
||||
|
||||
# RQ worker
|
||||
|
||||
rq worker -u redis://127.0.0.1:6379/
|
||||
|
|
Loading…
Reference in a new issue