README: mention devel-install & devel-uninstall

This commit is contained in:
Pino Toscano 2022-03-31 09:46:48 +02:00
parent 6c4dfc6d8f
commit e9b5c8acd3

View file

@ -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