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

#151 & #161: Updated instructions for local python http server #176

Merged
merged 3 commits into from Jan 24, 2016
Merged

#151 & #161: Updated instructions for local python http server #176

merged 3 commits into from Jan 24, 2016

Conversation

verythorough
Copy link
Contributor

As previously discussed in #151:
*Created resources directory for storing commonly used instructions (like how to run a local server)
*Moved testinglocally.html into resources directory and edited for further clarification and to add Chromebook instructions
*Updated links in all exercises which previously referenced testinglocally.html or gave direct instructions for setting up a local server

*Created Resources directory as a repository for commonly used
instructions (like how to run a local server)
*Moved testinglocally.html into Resources directory and edited for
further clarification and to add Chromebook instructions.
*Updated links in all exercises which previously referenced
testinglocally.html or gave direct instructions for setting up a local
server.
@@ -16,7 +16,8 @@

<h2>Setup</h2>
<ol>
<li>If you are not yet running your code from a local server, do that now by running <code>python -m SimpleHTTPServer</code> from your directory. We need to do this because of security restrictions on file:// protocol with XMLHttpRequests.</li>
<li>If you are not yet running your code from a local server, do that now by following
<a href="../resources/testinglocally.html" target="_blank">these instructions</a>. We need to do this because of security restrictions on file:// protocol with XMLHttpRequests.</li>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think these need at least one more ../ in the URL. @verythorough can you test and update?

@brendajin
Copy link
Contributor

Awesome work! I had one comment about the URL for some nested files, but otherwise, looks great!

Fixes bad links in backbone rolodex exercises and makes copying and
pasting to new exercises easier.
@verythorough
Copy link
Contributor Author

Yes! Too quickly copy-pasting between files. I ended up changing all of the links to be root-relative rather than file-relative, to avoid such copy-paste errors in future instructions.

brendajin pushed a commit that referenced this pull request Jan 24, 2016
#151 & #161: Updated instructions for local python http server
@brendajin brendajin merged commit 5081e93 into gdisf:master Jan 24, 2016
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.

None yet

2 participants