Skip to content

How can I build production level deb package after customizing Cockpit? #20470

Answered by martinpitt
MRajibH asked this question in Q&A
Discussion options

You must be logged in to vote

make-debs uses an existing dist/, so if you want a production build, do NODE_ENV=production ./build.js first.

However: tools/make-debs applies to cockpit itself. Your screenshot shows cockpit-machines, which is a separate project/package. So presumably that's loaded from /usr/local/share/cockpit/machines, or possibly from your home dir? (Same thing though: NODE_ENV=production ./build.js)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by martinpitt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants