@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.yml
is present, withid
,name
andversion
fields. E.g.:
id: 'wrn:bundle:dxos/dashboard'
name: Dashboard
build: yarn run pack
public: out
version: 0.0.0
Make sure you have pack
as a script in your package.json
and it will output binaries files to out
folder.
Then run:
wire dashboard build
Now you can publish to ipfs:
wire dashboard publish
And finally, register in WNS:
wire dashboard register
Install / Upgrade and Run
To install or upgrade a version of the dashboard run:
wire dashboard install
This will download the latest version to ./dashboard
folder.
To start the service:
wire dashboard start --port 8888
You can use
--detached
to run in background.
Then to stop:
wire dashboard stop
It is important to run these commands from the same folder where you ran the install
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago