yeoman-wordpress icon indicating copy to clipboard operation
yeoman-wordpress copied to clipboard

Grunt server redirection to node module Connect

Open Samsy opened this issue 12 years ago • 2 comments

Im trying to install that wordpress generator.

While im launching ' grunt server '

Im redirected into

'wordpress/node_modules/grunt-contrib-connect/node_modules/connect/lib/public/directory.html'

Is there an error there ?

Samsy avatar Jan 08 '14 09:01 Samsy

What do you mean by being redirected to this file? Is there any error output from node or is it just in the browser? Also can you tell me what node and yo version you're running? I might not be up to date. Thanks

romainberger avatar Jan 08 '14 17:01 romainberger

This is not an error/issue

Let us assume you are installing WordPress in a folder 'wordpress' which is accessible in your local server(e.g.apache) i.e you can run the files in browser using the url - 'http://localhost/wordpress'

If you run yo yo-wordpress in 'wordpress' folder you will see bunch files being downloaded.

If you execute grunt server you will be shown the file --- 'wordpress/node_modules/grunt-contrib-connect/node_modules/connect/lib/public/directory.html'

To use the just downloaded WordPress software you need to use this url 'http://localhost/wordpress/app'

ekancepts avatar Jan 10 '14 11:01 ekancepts