Skip to content

Commit b865722

Browse files
committed
bump README up to match latest
also edited "requested" out from permissions selectors
1 parent 958b052 commit b865722

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

README.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,26 @@ Find the latest release in the Releases tab and download a package (I generally
5252
* a folder called **static** with a few .js files, a few .json files, and a .css file.
5353

5454
### step four: dry-run the server
55-
* Open a command line interface and navigate to the folder containing `app.py`, then run `flask run`.
56-
* On the same device, in a browser, navigate to `localhost:5000/`.
57-
* You should see the home page pop up!
55+
1. Open a command line interface and navigate to the folder containing `app.py`, then run `flask run`.
56+
2. On the same device, in a browser, navigate to `localhost:5000/`.
57+
3. You should see the login page pop up!
5858

59-
### step five: configure the server as an AREDN service
59+
### step five: configure for current incident
60+
1. Log in as username "BOOTSTRAP\_ADMIN" with password "bootstrapbill". This login is the default bootstrap user (if you know how, I'd recommend changing the password. Look for BOOTSTRAP\_ADMIN's definition in `app.py` and change the text inside `generate_password_hash`).
61+
2. The system will then take you a page where you can register the first admin user. This step is not required but is **highly recommended**, as the bootstrap admin is active until the first admin user is created. Fill out the callsign(required) and name (recommended) fields and make sure the "active" checkbox is checked, then change the permissions dropdown to "admin" and enter a password. **Remember your password, because you won't be able to get it back.** (It is possible to change the password, but this method is beyond the scope of this document.) Submit the form.
62+
3. The system will take you to the login page again. Log in as the user you just created.
63+
4. The system will take you to the homepage. Congrats, your system is set up!
64+
65+
### step six: configure the server as an AREDN service
6066
(help wanted! I haven't done this before at the time of writing. instructions would be great.)
6167

6268
---
6369

6470
## during a deployment
65-
* Run the server with `flask run --host 0.0.0.0`
66-
* Plug the server into the AREDN node
67-
* All good to go!
71+
1. Run the server with `flask run --host 0.0.0.0`
72+
2. Plug the server into the AREDN node
73+
3. Access the webpage and configure user accounts and settings (located in the control panel)
74+
3. All good to go!
6875

6976

7077

templates/add_user.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<input type="text" id="callsign" name="callsign" required><br>
1717
<label for="name">Name:</label>
1818
<input type="text" id="name" name="name"><br>
19-
<label for="permissions">Requested permissions:</label>
19+
<label for="permissions">Permissions:</label>
2020
<select id="permissions" name="permissions">
2121
<option value="0">none</option>
2222
<option value="1">admin</option>

templates/view_user.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<input type="text" id="callsign" name="callsign" value="{{ user.callsign }}"><br>
1717
<label for="name">Name:</label>
1818
<input type="text" id="name" name="name" value="{{ user.name }}"><br>
19-
<label for="permissions">Requested permissions:</label>
19+
<label for="permissions">Permissions:</label>
2020
<select id="permissions" name="permissions">
2121
<option value="0" {% if user.permissions == 0 %}selected{% endif %}>none</option>
2222
<option {% if user.permissions == 1 %}selected{% endif %} value="1">admin</option>

0 commit comments

Comments
 (0)