Add deploy prod instructions

This commit is contained in:
2023-12-20 09:44:54 +01:00
parent aa81c7f979
commit cd55e6867e
3 changed files with 219 additions and 118 deletions

23
virtweb_docs/SETUP_DEV.md Normal file
View File

@ -0,0 +1,23 @@
# Setup for developpment
1. The `libvirt-dev` package must be installed:
```bash
sudo apt install libvirt-dev
```
2. Libvirt must also be installed:
```bash
sudo apt install qemu-kvm libvirt-daemon-system
```
3. 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.
4. Install required developpment tools:
* Rust: https://www.rust-lang.org/learn/get-started
* NodeJS: https://nodejs.org/en/download/current