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

Grunt server redirection to node module Connect #49

Open
Samsy opened this issue Jan 8, 2014 · 2 comments
Open

Grunt server redirection to node module Connect #49

Samsy opened this issue Jan 8, 2014 · 2 comments

Comments

@Samsy
Copy link

Samsy commented Jan 8, 2014

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 ?

@romainberger
Copy link
Owner

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

@ekancepts
Copy link
Contributor

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'

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

3 participants