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

Update tutorial to include running Node server #2004

Closed
wants to merge 1 commit into from
Closed

Update tutorial to include running Node server #2004

wants to merge 1 commit into from

Conversation

simonwhitaker
Copy link

The tutorial suggests using python -m SimpleHTTPServer to serve content, but subsequently introduces a mechanism for submitting comments via a POST request, which SimpleHTTPServer doesn't support. It appears that at this point the tutorial assumes you're using the sample Node.js server packaged with the tutorial's GitHub repo but that isn't explained.

This diff adds instructions on how to use the sample Node.js server.

Fixes reactjs/react-tutorial#1

The tutorial suggests using python -m SimpleHTTPServer to serve content, but subsequently introduces a mechanism for submitting comments via a POST request, which SimpleHTTPServer doesn't support. It appears that at this point the tutorial assumes you're using the sample Node.js server packaged with the tutorial's GitHub repo but that isn't explained.

This diff adds instructions on how to use the sample Node.js server.

Fixes reactjs/react-tutorial#1
@chenglou
Copy link
Contributor

chenglou commented Aug 6, 2014

👍

@zpao
Copy link
Member

zpao commented Jan 16, 2015

I'm going to take #2824 instead but I really do appreciate you taking the time to work on this. I'm sorry we let it sit here for so long!

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

Successfully merging this pull request may close these issues.

Tutorial uses POST with SimpleHTTPServer
4 participants