Before you start developing recipes and tools for Pagehop, you need to make a very short setup of your development environment.
First you need to install PhantomJS v1.9.7. You can check their instructions here.
Don't use Homebrew for this
The version currently in use is 0.10.36.
Download the installer from here and install manually.
All Pagehop recipes and tools use Grunt for testing and linting.
$ npm install -g grunt-cli
Depending on your setup, you might need to run the previous with
We have made a small tool to help you scaffold & validate project structure of recipes and tools.
Install it like this:
$ npm install -g pagehop
Again, you might need to run this command with
sudo. Usually, you’ll get an EACCESS error, if this is the case.
You’re now set to become a Pagehop developer. Check the next section to start developing your awesome recipes. Good luck!