forked from Qortal/qortal-ui
Simplified installation and linkage
Added new command to simplify the installation and linkage of qortal-ui inner folders
This commit is contained in:
parent
ecf387f034
commit
12224737a2
14
README.md
14
README.md
@ -41,19 +41,7 @@ Clone the main UI repo
|
|||||||
|
|
||||||
Installation and linking
|
Installation and linking
|
||||||
------------------------
|
------------------------
|
||||||
In `qortal-ui-core/`, `qortal-ui-plugins/`, `qortal-ui-crypto/` directories, run:
|
In `qortal-ui/` install_link:all
|
||||||
```
|
|
||||||
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
|
|
||||||
```
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Build UI server and files
|
Build UI server and files
|
||||||
|
@ -16,6 +16,7 @@
|
|||||||
"author": "QORTAL <admin@qortal.org>",
|
"author": "QORTAL <admin@qortal.org>",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"scripts": {
|
"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",
|
"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",
|
"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",
|
"build-dev": "node build.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user