mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-13 10:30:16 +00:00
Added some module-level documentation.
Of course, only stage 0 (#1: Hello!) is written. The rest will come next.
This commit is contained in:
parent
a00555e506
commit
2f98202312
@ -10,6 +10,27 @@ import cfg
|
|||||||
import config
|
import config
|
||||||
from model import User
|
from model import User
|
||||||
|
|
||||||
|
"""First Boot: Initial Plinth Configuration.
|
||||||
|
|
||||||
|
See docs/design/first-connection.mdwn for details.
|
||||||
|
|
||||||
|
The Plinth first-connection process has several stages:
|
||||||
|
|
||||||
|
0. The user connects to Plinth for the first time and is redirected from
|
||||||
|
the home page to the Hello page.
|
||||||
|
|
||||||
|
1. The user sets the Box's name, the administrator's name and
|
||||||
|
password, and the box's PGP key (optional).
|
||||||
|
|
||||||
|
2. The box generates and the user receives any PGP keys.
|
||||||
|
|
||||||
|
3. The box detects the network's configuration and restarts networking.
|
||||||
|
|
||||||
|
4. The user interacts with the box normally.
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
class FirstBoot(PagePlugin):
|
class FirstBoot(PagePlugin):
|
||||||
def __init__(self, *args, **kwargs):
|
def __init__(self, *args, **kwargs):
|
||||||
PagePlugin.__init__(self, *args, **kwargs)
|
PagePlugin.__init__(self, *args, **kwargs)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user