Browse Source

Simplified installation and linkage

Added new command to simplify the installation and linkage of qortal-ui inner folders
Simplifying-installation-and-linkage
proto 2 years ago
parent
commit
12224737a2
  1. 14
      README.md
  2. 1
      package.json

14
README.md

@ -41,19 +41,7 @@ Clone the main UI repo
Installation and linking
------------------------
In `qortal-ui-core/`, `qortal-ui-plugins/`, `qortal-ui-crypto/` directories, run:
```
yarn install
yarn link
```
Finally, in the `qortal-ui` directory, run:
```
yarn link qortal-ui-core
yarn link qortal-ui-plugins
yarn link qortal-ui-crypto
```
In `qortal-ui/` install_link:all
Build UI server and files

1
package.json

@ -16,6 +16,7 @@
"author": "QORTAL <[email protected]>",
"license": "GPL-3.0",
"scripts": {
"install_link:all": "(cd qortal-ui-core && yarn install && yarn link) && (cd qortal-ui-plugins && yarn install && yarn link) && (cd qortal-ui-crypto && yarn install && yarn link) && (yarn link qortal-ui-core && yarn link qortal-ui-plugins && yarn link qortal-ui-crypto)",
"dev": "node server.js",
"prebuild": "node -p \"'export const UI_VERSION = ' + JSON.stringify(require('./package.json').version) + ';'\" > qortal-ui-core/src/redux/app/version.js",
"build-dev": "node build.js",

Loading…
Cancel
Save