mirror of
https://github.com/retspen/webvirtcloud
synced 2026-12-01 08:26:03 +00:00
docs(readme): the development setup starts the job worker
Creating, cloning, migrating and deleting VMs are jobs: with the dev server alone they stay queued. The step starts run_worker with the dev settings in another terminal. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Kk4h2TcUiaWmU5MUszYSea
This commit is contained in:
parent
cac76b84cc
commit
b6752f6370
1 changed files with 6 additions and 0 deletions
|
|
@ -889,6 +889,12 @@ Run every step as your normal user, not with `sudo`: if `manage.py` ever runs as
|
||||||
python manage.py runserver 0.0.0.0:8000 --settings=webvirtcloud.settings-dev
|
python manage.py runserver 0.0.0.0:8000 --settings=webvirtcloud.settings-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Long operations (create, clone, migrate, delete) wait in the queue until the job worker runs; start it in another terminal with the virtualenv active:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
python manage.py run_worker --settings=webvirtcloud.settings-dev
|
||||||
|
```
|
||||||
|
|
||||||
Open `http://127.0.0.1:8000`. The browser consoles connect to `/novncd/` and `/socket.io/` on the panel's own address, which the dev server does not proxy: try them in the Docker image, or behind nginx with `conf/nginx/webvirtcloud.conf`.
|
Open `http://127.0.0.1:8000`. The browser consoles connect to `/novncd/` and `/socket.io/` on the panel's own address, which the dev server does not proxy: try them in the Docker image, or behind nginx with `conf/nginx/webvirtcloud.conf`.
|
||||||
|
|
||||||
### Keyboard layouts
|
### Keyboard layouts
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue