sideroad / grunt-wpt-page

2 stars 2 forks source link

Install #2

Closed akashnimare closed 9 years ago

akashnimare commented 9 years ago

I have just installed this. How do I run it? node index.js throwing an error

sideroad commented 9 years ago

this component should not use directly. plz use grunt-wpt instead :)

akashnimare commented 9 years ago

I have installed grunt-wpt and cloned this repo but I am not able to run it.

sideroad commented 9 years ago

Did u get webpagetest API key? If not yet, plz get the key from page below http://www.webpagetest.org/getkey.php

After that please set environmental variable as WPT_API_KEY. then you can execute

akashnimare commented 9 years ago

Yes. I figured it out. I am able to get the data now. How do I get the pagespeed graphs like speedindex?

On Tue, Jul 7, 2015 at 3:01 PM, Akash Nimare svnitakash@gmail.com wrote:

I am not able to get the data. Can you help me out? Here is my Gruntfile.js module.exports = function(grunt) { grunt.initConfig({ wpt: { options: { // locations: ['SanJose_IE9'], key: ['A.62ed2309901a4c11f77284b3da0af905'] }, sideroad: { options: { url: [ 'http://akashnimare.in' ] }, dest: 'tmp/sideroad/' } } });

grunt.loadNpmTasks('grunt-wpt'); grunt.registerTask('default', ['wpt']); };

When I run grunt wpt It did not show any error.

On Sat, Jun 27, 2015 at 8:21 PM, sideroad notifications@github.com wrote:

Did u get webpagetest API key? If not yet, plz get the key from page below http://www.webpagetest.org/getkey.php

After that please set environmental variable as WPT_API_KEY. then you can execute

— Reply to this email directly or view it on GitHub https://github.com/sideroad/grunt-wpt-page/issues/2#issuecomment-116081829 .