You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then: Do a quick check to make sure the server can run
149
-
Start the server
150
-
151
-
python3 manage.py runserver 8000
152
-
153
-
Make sure API is accessible via web browser.
154
-
155
-
[YOU WEB HOST HERE]/api/admin/
156
-
157
-
EX: http://localhost:8000/api/admin/
104
+
---
105
+
## Run The Server
106
+
Start the Django server.
107
+
```
108
+
python3 manage.py runserver
109
+
```
158
110
159
-
If it worked you should be able to login using the SuperUser credentials you created above
111
+
The BCO DB is designed to run on the default django port `8000`. If you want to use another port you can specify that option at the end of the command: `python3 manage.py runserver 8181`
160
112
161
-
Log in with the superuser credentials you created or imported
113
+
Make sure API is accessible via web browser. If it worked you should be able to see the Django Admin site at:
114
+
```
115
+
http://localhost:8000/api/admin/
116
+
```
117
+
If it worked you should be able to Log in with the superuser credentials you created or imported
162
118
163
-
If you copied over the existing dbs you should be able to log in with any of the crednetials listed in /portal_userdb/server/admin/users.tsv
119
+
If you copied over the existing dbs you should be able to use any of the tokens[KEYs] listed in the [authtoken_token.tsv](/admin_only/test_database_tables/authtoken_token.tsv) table to submit requests via the [Swagger page](http://localhost:8000/api/docs/)
164
120
165
-
Otherwise you will have to register a new user.
121
+
Otherwise you will have to create a new user. #TODO: Add to FAQs
0 commit comments