Skip to content

candlepin/subscription-manager-cockpit

Repository files navigation

subscription-manager-cockpit

This is the Cockpit user interface for administrating Candlepin subscriptions.

Technologies

Development dependencies

On Debian/Ubuntu:

$ sudo apt install gettext nodejs npm make

On Fedora:

$ sudo dnf install gettext nodejs npm make

Getting and building the source

These commands check out the source and build it into the dist/ directory:

git clone https://github.com/candlepin/subscription-manager-cockpit.git
cd subscription-manager-cockpit
make

Installing

sudo make install installs the package in /usr/local/share/cockpit/. This depends on the dist target, which generates the distribution tarball.

You can also run make rpm to build RPMs for local installation.

In production mode, source files are automatically minified and compressed. Set NODE_ENV=production if you want to duplicate this behavior.

Development instructions

See HACKING.md for details about how to efficiently change the code, run, and test it.