This commit is contained in:
parent
586a60ab96
commit
e2210d247a
@ -11,7 +11,7 @@ sudo apt install qemu-kvm libvirt-daemon-system
|
||||
```
|
||||
|
||||
3. Allow the current user to manage VMs:
|
||||
```
|
||||
```bash
|
||||
sudo adduser $USER libvirt
|
||||
sudo adduser $USER kvm
|
||||
```
|
||||
@ -20,4 +20,27 @@ sudo adduser $USER kvm
|
||||
|
||||
4. Install required developpment tools:
|
||||
* Rust: https://www.rust-lang.org/learn/get-started
|
||||
* NodeJS: https://nodejs.org/en/download/current
|
||||
* NodeJS: https://nodejs.org/en/download/current
|
||||
|
||||
|
||||
5. Run sample OpenID service
|
||||
```bash
|
||||
cd virtweb_backend
|
||||
docker compose up
|
||||
```
|
||||
|
||||
6. Run the backend:
|
||||
```bash
|
||||
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"
|
||||
```
|
||||
|
||||
7. Run the frontend
|
||||
```bash
|
||||
cd virtweb_frontend
|
||||
npm run start
|
||||
```
|
||||
|
||||
Have fun with your development!
|
Loading…
Reference in New Issue
Block a user