911 B
911 B
Setup for developpment
- The
libvirt-dev
package must be installed:
sudo apt install libvirt-dev
- Libvirt must also be installed:
sudo apt install qemu-kvm libvirt-daemon-system
- Allow the current user to manage VMs:
sudo adduser $USER libvirt
sudo adduser $USER kvm
Note: You will need to login again for this change to take effect.
- Install required developpment tools:
- Run sample OpenID service
cd virtweb_backend
docker compose up
- Run the backend:
sudo mkdir /var/virtweb
sudo chown $USER:$USER /var/virtweb
cd virtweb_backend
cargo fmt && cargo clippy && cargo run -- -s /var/virtweb --hypervisor-uri "qemu:///system"
- Run the frontend
cd virtweb_frontend
npm run start
Have fun with your development!