diff --git a/README.md b/README.md index 3ea684e..18dddda 100644 --- a/README.md +++ b/README.md @@ -9,14 +9,15 @@ You need to use nodejs 16.x, using `yarn` is recommended. If you're using git to get this repo you should use `git submodule update --init --recursive` as well. If you're just downloading the archive.zip, make sure you download and extract deemix-webui into the webui folder. -Install the dependencies using `yarn install`. +Install the dependencies using `yarn install` or just `yarn`. Then you should be able to run the app with `yarn start`. You can change the default port by setting the environment variable `PORT` to any other number before starting the app. ## Building the app Make sure you've installed the dependencies for all packages (the root folder, `server` and `webui`). -Then from the root folder run `yarn prebuild` to build the server and the webui and then `yarn dist` to make a distributable package for your current OS. +Then from the root folder run `yarn dist` to make a distributable package for your current OS or `yarn server-dist` +to make an executable for only the server. ## Feature requests Before asking for a feature make sure it isn't an already open issue on the repo diff --git a/package.json b/package.json index a4c85ae..bf6e93a 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "scripts": { "start": "electron . --dev", "prebuild": "yarn server-build && yarn --cwd ./webui build", + "predist": "yarn prebuild", "dist": "electron-builder", "dist:dir": "electron-builder --dir", - "server-start": "yarn --cwd server start", "server-start-build": "yarn --cwd server start-build", "server-lint": "yarn --cwd server lint", @@ -58,7 +58,10 @@ ] }, "linux": { - "target": ["appimage", "deb"], + "target": [ + "appimage", + "deb" + ], "artifactName": "deemix-gui.${ext}", "category": "AudioVideo,Audio", "icon": "build/icon.icns"