UserVM Handbook: Difference between revisions

no edit summary
(misnomer)
No edit summary
First up make sure you have git installed:
{{code|lang=bash|
$ sudo pacman -S-needed --needednoconfirm -Sy nodejs nasm gitrust # Arch
$ sudo apt-get install -y git # Debian
}}
$ curl -fsSL https://deb.nodesource.com/setup_21.x | sudo bash -
$ sudo apt-get install nodejs -y
</nowiki>}}
Enable Corepack:
{{code|<nowiki>
$ sudo corepack enable
</nowiki>}}
=== Prepare the server ===
Now, we can clone the CollabVM Server source code:
{{code|
(collabvm) $ git clone https://github.com/computernewb/collabvm-1.2.ts.git /srv/collabvm/collabvm-1.2.ts --depth 1 --recursive
(collabvm) $ cd /srv/collabvm/collabvm-1.2.ts
}}
Then install dependencies
{{code|
(collabvm) $ npm iyarn
}}
Finally, build the server
{{code|
(collabvm) $ npm runyarn build
}}