@ -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.
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.
@ -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.**
**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
## 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`.
On production, edit `docker-compose.prod.yml` file: change `80:80` substring in `nginx`/`ports` section to `<your_port>:80`.