Fix install-from-git instructions (see #92)

Turns out the reason npm did not run the script configured in the package.json
was because it behaves differently when ran as root.
When ran as a normal user, a simple `npm install` is sufficient to build the
whole thing.
This commit is contained in:
Jonas Herzig 2020-05-04 18:49:17 +02:00
parent 9596025e47
commit b56614723a

View file

@ -24,9 +24,8 @@ or from git:
git clone https://github.com/johni0702/mumble-web
cd mumble-web
npm install
npm run postinstall
npm run build
```
Note that npm should not be ran as root, use an unprivileged user account instead.
The npm version is prebuilt and ready to use whereas the git version allows you
to e.g. customize the theme before building it.