eyecandy
This commit is contained in:
@@ -47,17 +47,7 @@ On Windows PowerShell, activate the environment with:
|
||||
.venv\Scripts\Activate.ps1
|
||||
```
|
||||
|
||||
The SQLite database is created automatically at `backend/data/linklog.db` when the application starts or when the auth router is imported. The starter accounts are:
|
||||
|
||||
|
||||
|
||||
| Username | Password | Role |
|
||||
| --- | --- | --- |
|
||||
| `alice` | `secret123` | administrator |
|
||||
| `bob` | `secret123` | standard user |
|
||||
|
||||
|
||||
These credentials are for development only. Change the authentication and seeding design before deploying publicly.
|
||||
The SQLite database is created automatically at `backend/data/linklog.db` when the application starts. On a fresh installation, open `/setup` and create the first administrator. No default user accounts are created by the application. The setup page also collects SMTP settings and requires a successful test email before creating the administrator.
|
||||
|
||||
The database schema is versioned with SQLite `PRAGMA user_version`. Application startup applies all pending migrations in order, so updating the application does not require deleting an existing database. New schema changes should be added as a new numbered migration in `backend/app/database.py`; existing migration entries must remain unchanged.
|
||||
## Run The Backend
|
||||
|
||||
Reference in New Issue
Block a user