Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install process not clear #567

Open
iscb1962 opened this issue Jan 28, 2019 · 3 comments
Open

Install process not clear #567

iscb1962 opened this issue Jan 28, 2019 · 3 comments

Comments

@iscb1962
Copy link

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
Copy link

delboni commented Feb 21, 2020

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
Copy link

elofu17 commented Sep 8, 2020

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants