You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by gj...@apache.org on 2020/09/23 20:27:57 UTC

[bloodhound-core] 14/14: Correct path in README.md; add superuser creation

This is an automated email from the ASF dual-hosted git repository.

gjm pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/bloodhound-core.git

commit 104011c39fc8165a59faf49709fa51b1a7cded9c
Author: Gary Martin <gj...@apache.org>
AuthorDate: Tue Sep 22 15:40:30 2020 +0100

    Correct path in README.md; add superuser creation
---
 README.md | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index f0b6e39..ee10622 100644
--- a/README.md
+++ b/README.md
@@ -83,6 +83,20 @@ Note that currently models are in flux and, for the moment, no support should
 be expected for migrations as models change. This will change when basic
 models gain stability.
 
+## Setting up a superuser
+
+For certain operations it will be useful to have accounts and superusers to
+work with. There are a few ways to add a superuser. For interactive use, the
+`createsuperuser` action is usually straightforward enough:
+
+```
+pipenv run python manage.py createsuperuser --email admin@example.com --username admin
+```
+
+Entering the password twice on prompting is currently required. If the options
+for `--username` and `--email` are skipped, the command will request these
+details first.
+
 ## Running the development server:
 
 ```
@@ -100,8 +114,8 @@ Currently there is not much to see at the specified location. More work has
 been done on the core API. The following views may be of interest as you
 explore:
 
- * http://127.0.0.1:8000/ticket/
  * http://127.0.0.1:8000/schema_view/
+ * http://127.0.0.1:8000/api/
 
 These paths are subject to change.