dalen / puppetexplorer

Puppet web interface written in CoffeeScript using AngularJS
demo.puppetexplorer.io
Other
412 stars 43 forks source link

Install process not clear #567

Open iscb1962 opened 5 years ago

iscb1962 commented 5 years ago

Hi

First off I'm a sysadmin and have no development experience of the products used by puppet explorer. I'm trying to get an up to date version of puppet explorer running, and am trying to figure out how to install. The instructions in the readme talks about using the spotfy-puppetexplorer module from the puppet forge - which works however the version installed is over two years old and has some issues which may have been fixed in the updates here.

Thus I'd like to understand how to install the software from git hub - comparing the git hub tree against the package that the spotify puppet module installs I see only one file which matches filename - so I'm assuming there is some sort of compilation step. Could you provide a brief summary of the steps required to take the git hub structure and produce a working set of software ?

Thanks

Ian

delboni commented 4 years ago

Hi. I'm interested in that question too. I have Pupept Explorer version 2.0 up and running in an old server but could't build the current version on a new server.

elofu17 commented 4 years ago

Same here. I have the old 2.0 installed and don't understand anything about the npm/grunt stuff. @dalen can you please add a few simple step-by-step instructions, for us dummies, how to setup the build machine (I can easily spin up a temporary machine in AWS) so I can then build a Debian package for the latest version of puppetexplorer?

Here's what I have guessed I should do:

For debian/ubuntu:
# https://github.com/nodesource/distributions/blob/master/README.md#debinstall
sudo bash
curl -sL https://deb.nodesource.com/setup_14.x | bash -
apt-get install -y nodejs

apt-get install git
mkdir -p /root/git
cd /root/git/
git clone https://github.com/dalen/puppetexplorer.git puppetexplorer
cd puppetexplorer/

# https://github.com/dalen/puppetexplorer/blob/master/README.md
npm update -g npm
npm install

# https://gruntjs.com/getting-started
npm install -g grunt-cli
npm install grunt --save-dev

apt-get install devscripts debhelper
grunt build_debian
  A valid Gruntfile could not be found. Please see the getting started guide for
  more information on how to configure grunt: http://gruntjs.com/getting-started
  Fatal error: Unable to find Gruntfile.

No matter what I do, a Gruntfile (.js or .coffee) is missing. Should there be one in the puppetexplorer repo?

Can you please add what steps I'm missing (and possibly add it to README.md for others to see as well)?

AlexeiKlimenko commented 3 years ago

Hello. Have you resolve this issue? Also trying to find out clear installation process.