Local WagTail install on MultiPass
WAGTAIL INSTALL on multipass
# Host
multipass launch -n wagtail
multipass shell wagtail
# Guest
sudo apt update
sudo apt install python3.10-venv
python3 -m venv mysite/env
source mysite/env/bin/activate
pip install wagtail
wagtail start mysite mysite
cd mysite && pip install -r requirements.txt
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver 0.0.0.0:8000
exit
# Host
multipass exec wagtail -- hostname -I
# update /etc/hosts wagtail.multipass
http://wagtail.multipass:8000/