@dxos/dashboard-cli v1.0.0-beta.20
Dashboard CLI
Setup
A number of config variables is required in order to run CLI. One could either provide those in ~/.wire/config.yml in format of yaml.
Operations
The dashboard CLI allows to publish a version to WNS and it's also used to install and run a packaged version.
The steps to publish a new version to WNS are:
- build
- publish
- register
Once a version is available you can:
- install / upgrade
- start / stop
Build, Publish and Register
In dashboard root folder:
- make sure
bundle.ymlis present, withid,nameandversionfields. E.g.:
id: 'wrn:bundle:dxos/dashboard'
name: Dashboard
build: yarn run pack
public: out
version: 0.0.0Make sure you have pack as a script in your package.json and it will output binaries files to out folder.
Then run:
wire dashboard buildNow you can publish to ipfs:
wire dashboard publishAnd finally, register in WNS:
wire dashboard registerInstall / Upgrade and Run
To install or upgrade a version of the dashboard run:
wire dashboard installThis will download the latest version to ./dashboard folder.
To start the service:
wire dashboard start --port 8888You can use
--detachedto run in background.
Then to stop:
wire dashboard stopIt is important to run these commands from the same folder where you ran the install
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago