updated readme instructions
This commit is contained in:
parent
7a3cc6816f
commit
acd787ee6f
10
README.md
10
README.md
|
@ -20,11 +20,13 @@ it's intended use is for small groups of people to self-host, and as such there'
|
||||||
|
|
||||||
3. `npm install` / `pnpm install`
|
3. `npm install` / `pnpm install`
|
||||||
|
|
||||||
4. install the `zip` linux tool into your path (there are currently no plans for windows support, however feel free to contribute)
|
4. head to `app/`, run `npm install` / `pnpm install` there, followed by `npm run build` / `pnpm run build`
|
||||||
|
|
||||||
5. build the project with `npm run build` / `pnpm build`
|
5. install the `zip` linux tool into your path (there are currently no plans for windows support, however feel free to contribute)
|
||||||
|
|
||||||
6. (optionally) put the service on pm2 like such: `pm2 start src/index.js --name deemix-web-frontend` (or just run it with `node src/index.js`)
|
6. build the project with `npm run build` / `pnpm build` or just run it with `npm run quickrun` / `pnpm run quickrun`
|
||||||
|
|
||||||
|
7. (optionally) put the service on pm2 like such: `pm2 start src/index.js --name deemix-web-frontend` (or just run it with `node src/index.js`)
|
||||||
|
|
||||||
### nginx addenum
|
### nginx addenum
|
||||||
|
|
||||||
|
@ -55,7 +57,7 @@ location /api {
|
||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /home/oatmealine/deemix-web-frontend/public/;
|
root /home/oatmealine/deemix-web-frontend/app/dist/;
|
||||||
index index.html;
|
index index.html;
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue