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/22 14:40:31 UTC
svn commit: r1881933 - /bloodhound/branches/bh_core_experimental/README.md
Author: gjm
Date: Tue Sep 22 14:40:30 2020
New Revision: 1881933
URL: http://svn.apache.org/viewvc?rev=1881933&view=rev
Log:
Correct path in README.md; add superuser creation
Modified:
bloodhound/branches/bh_core_experimental/README.md
Modified: bloodhound/branches/bh_core_experimental/README.md
URL: http://svn.apache.org/viewvc/bloodhound/branches/bh_core_experimental/README.md?rev=1881933&r1=1881932&r2=1881933&view=diff
==============================================================================
--- bloodhound/branches/bh_core_experimental/README.md (original)
+++ bloodhound/branches/bh_core_experimental/README.md Tue Sep 22 14:40:30 2020
@@ -83,6 +83,20 @@ Note that currently models are in flux a
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 th
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.