README: mention devel-install & devel-uninstall
This commit is contained in:
parent
fde873e0bd
commit
731bf26405
1 changed files with 8 additions and 1 deletions
|
|
@ -23,7 +23,9 @@ automatically minified and compressed. Set `NODE_ENV=production` if you want to
|
||||||
duplicate this behavior.
|
duplicate this behavior.
|
||||||
|
|
||||||
For development, you usually want to run your module straight out of the git
|
For development, you usually want to run your module straight out of the git
|
||||||
tree. To do that, link that to the location were `cockpit-bridge` looks for packages:
|
tree. To do that, run `make devel-install`, which links your checkout to the
|
||||||
|
location were cockpit-bridge looks for packages. If you prefer to do
|
||||||
|
this manually:
|
||||||
|
|
||||||
```
|
```
|
||||||
mkdir -p ~/.local/share/cockpit
|
mkdir -p ~/.local/share/cockpit
|
||||||
|
|
@ -49,6 +51,11 @@ the remote hostname.
|
||||||
|
|
||||||
$ RSYNC=c make watch
|
$ RSYNC=c make watch
|
||||||
|
|
||||||
|
To "uninstall" the locally installed version, run `make devel-uninstall`, or
|
||||||
|
remove manually the symlink:
|
||||||
|
|
||||||
|
rm ~/.local/share/cockpit/starter-kit
|
||||||
|
|
||||||
# Running eslint
|
# Running eslint
|
||||||
|
|
||||||
Cockpit Starter Kit uses [ESLint](https://eslint.org/) to automatically check
|
Cockpit Starter Kit uses [ESLint](https://eslint.org/) to automatically check
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue