SteveEmmerich / hog

KeyW Corporation's Hog Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hog

Generated with

Hog is an interactive development environment that was created to assist analysts and developers with Apache Pig script creation requiring minimal knowledge of the language. The web application that was constructed provides a resource for script generation, analyzing output as well as archiving scripts. Using the Simple environment, users have drag and drop capabilities to generate scripts. The Complex side of the application provides a development environment that lets developers create, save and analyze output of their scripts.

Install Pig, (if you have a mac)

brew install pig
brew install apache piglatin

Clone Hog from the Gitlab repository

git clone hog
cd hog

Installing files

You will need to install node_modules and bower_conponents (If prompted to choose a version choose the option that coorisponds to hog)

npm run build

If you have an older version of hog run the DB migrate

gulp migrate
mv /path/to/hog/server/api/pig/pig.data.db.mig /path/to/hog/server/api/pig/pig.data.db
mv /path/to/hog/server/api/settings/settings.data.db.mig /path/to/hog/server/api/settings/settings.data.db

Move others as needed.

Running Hog

Open a second terminal

cd /path/to/hog
npm start

A tab in your browser will automatically open to 'localhost:9000' with the script running. We find the program runs best using a Chrome web browser.

About

KeyW Corporation's Hog Project

License:MIT License


Languages

Language:JavaScript 83.9%Language:HTML 14.1%Language:CSS 1.7%Language:Shell 0.3%