Skip to content

Instantly share code, notes, and snippets.

@Lunarequest
Created October 28, 2024 04:53
Show Gist options
  • Save Lunarequest/61c4455a5c246c453c18925987548dd4 to your computer and use it in GitHub Desktop.
Save Lunarequest/61c4455a5c246c453c18925987548dd4 to your computer and use it in GitHub Desktop.
Instructions to setup for cockpit starter-kit

Devel Dependencies

To get started you need the following dependencies installed. nodejs npm git cockpit make awk you can install all of them with one command on opensuse.

$ sudo zypper in nodejs npm git cockpit make awk

Template repo

You will need to following repo cloned on to your system https://github.com/cockpit-project/starter-kit.

Via https:

$ git clone https://github.com/cockpit-project/starter-kit.git

Via ssh:

$ git clone [email protected]:cockpit-project/starter-kit.git

Install node packages and build

Finally you will need to install the npm dependencies. This may take a while and you may need

$ npm install

Fetching cockpit.js is out last step. This is fairly easy with just one command

make

After running make you may see some warnings, These are safe to ignore. To running a build you can run make or to watch for changes you can run make watch. You will now be ready to follow along.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment