Browse Source

Update faq, close #1496

pull/1538/head
Hironsan 3 years ago
parent
commit
19b441f264
4 changed files with 22 additions and 17 deletions
  1. 39
      docs/faq.md
  2. BIN
      docs/images/faq/how_to_change_password/change_password.png
  3. BIN
      docs/images/faq/how_to_change_password/user_list.png
  4. BIN
      docs/images/faq/how_to_change_password/user_page.png

39
docs/faq.md

@ -36,6 +36,28 @@ Select the `Add` button to display the form. Fill in this form with the user nam
Congratulations. Now the new user are able to access the project.
## How to change the password
After running doccano webserver, login to the admin site(in the case of pip installation) via <http://localhost:{port}/admin/>. Note that you need to have a staff permission to login to the admin site. If you don't have it, please ask the administrator to change your password.
![](images/faq/user_creation/login.png)
After login to the admin site, select `Users`:
![](images/faq/user_creation/select_users.png)
Select the user you want to change the password:
![](images/faq/how_to_change_password/user_list.png)
Click `this form` link:
![](images/faq/how_to_change_password/user_page.png)
After showing a form below, change password there:
![](images/faq/how_to_change_password/change_password.png)
## I can't upload my data
Please check the following list.
@ -52,23 +74,6 @@ Please check the following list.
**You don't need your real & all data to validate file format. The picked data & masked data is suitable if your data is large or secret.**
## I want to change user's or admin's password
For ordinary user:
1. Login to [Django Admin](https://djangobook.com/django-admin-site/) (URL: `/admin/`).
2. Open `Users` table.
3. Open user you want to change password.
4. In `Password` property, you'll see: `Raw passwords are not stored, so there is no way to see this user's password, but you can change the password using *this form*.` Click `this form` link.
5. Fill the form. Click `CHANGE PASSWORD` button.
6. **Logout from Django Admin site.** [You'll face login error without logout of Django Admin site](https://github.com/doccano/doccano/issues/723).
For the superuser account credentials, you have to set new password in the `docker-compose.dev.yml` and `docker-compose.prod.yml` files:
```yml
ADMIN_PASSWORD: "new_password"
```
## I want to change port number
On production, edit `docker-compose.prod.yml` file: change `80:80` substring in `nginx`/`ports` section to `<your_port>:80`.

BIN
docs/images/faq/how_to_change_password/change_password.png

Before After
Width: 1634  |  Height: 868  |  Size: 164 KiB

BIN
docs/images/faq/how_to_change_password/user_list.png

Before After
Width: 1682  |  Height: 852  |  Size: 140 KiB

BIN
docs/images/faq/how_to_change_password/user_page.png

Before After
Width: 1970  |  Height: 696  |  Size: 104 KiB
Loading…
Cancel
Save