mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 09:45:52 +00:00
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
|
||||
------------------------
|
||||
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
|
||||
|
@ -16,6 +16,7 @@
|
||||
"author": "QORTAL <admin@qortal.org>",
|
||||
"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…
x
Reference in New Issue
Block a user