Update
This commit is contained in:
parent
06305de9cf
commit
58cd8b72f6
19
README.md
19
README.md
@ -9,17 +9,26 @@ 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.
|
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` or just `yarn`.
|
Install the dependencies using `yarn install-all` for production.
|
||||||
|
Install the dependencies using `yarn install-all-dev` for development.
|
||||||
Then you should be able to run the app with `yarn start`.
|
Then you should be able to run the app with `yarn start`.
|
||||||
|
If you want to further develop Deemix and propose a PR, use `yarn dev`
|
||||||
|
|
||||||
|
Here as command examples:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Production
|
||||||
|
git clone https://gitlab.com/RemixDev/deemix-gui.git . && git submodule update --init --recursive && yarn install-all
|
||||||
|
# Development
|
||||||
|
git clone https://gitlab.com/RemixDev/deemix-gui.git . && git submodule update --init --recursive && yarn install-all-dev
|
||||||
|
```
|
||||||
|
|
||||||
You can change the default port by setting the environment variable `PORT` to any other number before starting the app.
|
You can change the default port by setting the environment variable `PORT` to any other number before starting the app.
|
||||||
|
|
||||||
## Building the app
|
## Building the app
|
||||||
To build the app you need to have git installed and the repo cloned with `git`.
|
To build the app you need to have git installed and the repo cloned with `git`.
|
||||||
Make sure you've installed the dependencies for all packages (the root folder, `server` and `webui`).
|
Make sure you've installed the dependencies for all packages (the root folder, `server` and `webui`).
|
||||||
You can install them with `yarn install-all`.
|
Then from the root folder run `yarn dist` to make a distributable package for your current OS or `yarn dist-server` to make an executable for only the server.
|
||||||
Then from the root folder run `yarn dist` to make a distributable package for your current OS or `yarn dist-server`
|
|
||||||
to make an executable for only the server.
|
|
||||||
|
|
||||||
## Feature requests
|
## Feature requests
|
||||||
Before asking for a feature make sure it isn't an already open issue on the repo
|
Before asking for a feature make sure it isn't an already open issue on the repo
|
||||||
@ -36,4 +45,4 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
@ -41,10 +41,11 @@ export function getListeningCb(server: http.Server, debug: Debugger) {
|
|||||||
const addr = server.address()
|
const addr = server.address()
|
||||||
|
|
||||||
if (addr) {
|
if (addr) {
|
||||||
const bind = typeof addr === 'string' ? 'pipe ' + addr : 'port ' + addr.port
|
const ip = typeof addr === 'string' ? 'pipe ' + addr : addr.address
|
||||||
|
const port = typeof addr === 'string' ? 'pipe ' + addr : addr.port
|
||||||
|
|
||||||
debug(`Listening on ${bind}`)
|
debug(`Listening on ${ip}:${port}`)
|
||||||
logger.info(`Listening on ${bind}`)
|
logger.info(`Listening on ${ip}:${port}`)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user