-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Simplest way to "Fire up a web server" to run examples #161
Comments
If you're on a mac/linux, you can call "python -m SimpleHTTPServer" from the On Fri, May 24, 2013 at 10:32 AM, Pierre-Henri Trivier <
|
That was precisely what I was going to say. That one-line python way is On Fri, May 24, 2013 at 8:52 AM, Brandon Satrom [email protected]:
|
One of our friends made this: https://npmjs.org/package/polymer-bootstrap But I haven't tried it personally. |
Don't Macs generally ship with Apache installed? On Fri, May 24, 2013 at 9:04 AM, jkomoros [email protected] wrote:
|
@sjmiles No apache in Macs by default. But "python -m SimpleHTTPServer" really does well. |
Macs come with Apache, but you have to configure it/turn it on I believe. |
@wesleycho http://www.macinstruct.com/node/112 Mac does have built-in server. |
@homleen The option for personal web sharing was removed in Mountain Lion even though Apache still exists on the machine. |
if you have node/npm - https://github.com/nodeapps/http-server#installing-globally # install http-server
npm install -g http-server
# to serve the current directory
http-server |
@brandonpayton Thanks for the information. |
Thanks, I ended up using a custom "express" server with static rules, but the one-liners are definitely better ! |
Hi
This might sound like an absolutely stupid question, but what would be the simplest / recommanded / quickest way to do the "Fire up a web server" part of the "Getting started" guide ? Do you recommand any "quick and dirty" server (and what would be the configuration tricks ?)
Thanks
The text was updated successfully, but these errors were encountered: