26 lines
1.0 KiB
Markdown
26 lines
1.0 KiB
Markdown
### Isotope Table Admin Management
|
|
|
|
To manage the admin accounts for the Isotope Table application, use the following Django CLI commands.
|
|
|
|
#### Environment Setup
|
|
Ensure you are using the project's virtual environment. In this environment, the Python executable is located at:
|
|
`/home/markusro/sources/isotopetable/.venv/bin/python3`
|
|
|
|
#### Create a New Admin Account
|
|
To create a new superuser who can access the admin dashboard at `/admin/`:
|
|
```bash
|
|
/home/markusro/sources/isotopetable/.venv/bin/python3 manage.py createsuperuser
|
|
```
|
|
|
|
#### Change an Existing Admin Password
|
|
If you need to change the password for an existing user:
|
|
```bash
|
|
/home/markusro/sources/isotopetable/.venv/bin/python3 manage.py changepassword <username>
|
|
```
|
|
|
|
#### Uploading Magnet Profiles
|
|
Once logged into the admin panel at `http://127.0.0.1:8811/admin/` (or your local host), you can:
|
|
1. Navigate to **Field profiles**.
|
|
2. Click **Add field profile**.
|
|
3. Provide a name, upload the `.dat` file, and set the technical parameters (`step`, `cryo_length`, `reverse_offset`).
|