Add Norwegian demo data, avatars and a random mode to seed_demo_data
This commit is contained in:
3 files changed
+297
-30
No files matched your search
@@ -27,6 +27,8 @@ Vite prints the frontend URL when it starts (normally <http://localhost:5173/>;
|
||||
|
||||
To test the frontend against a different backend, set `VITE_DEV_API_PROXY` when starting Vite, for example `VITE_DEV_API_PROXY=https://bbs.neuf.no mise run frontend-run`. This affects the development proxy only; use caution with a live backend, since app changes and submissions may modify production data.
|
||||
|
||||
For more realistic statistics, `uv run manage.py seed_demo_data --size medium` also generates random users, orders and deposits spread over time (`small`, `medium` or `large`; add `--seed N` for reproducible output). It adds more data on every run.
|
||||
|
||||
To create the admin during data seeding instead, set `BBS_SEED_ADMIN_PASSWORD` for that command; the command only creates a local `admin` superuser if one does not already exist.
|
||||
|
||||
## Testing
|
||||
|
||||
Reference in new issue
Block a user