There's also "serve" by tjholowaychuk: https://npmjs.org/package/serve

npm install serve -g
serve

On Wednesday, October 31, 2012 11:30:29 PM UTC-7, Arunoda Susiripala wrote:
>
> Thanks iz.
>
> Looks great will use it instead python :)
>
>
> On Thu, Nov 1, 2012 at 10:56 AM, Isaac Schlueter <[email protected]<javascript:>
> > wrote:
>
>> npm install st -g
>>
>> Then type st in the dir you want to serve. 
>>
>>
>> On Wednesday, October 31, 2012, Josh Faul wrote:
>>
>>> I actually use this in my .zshrc:
>>> alias servethis="python -m SimpleHTTPServer 8888"
>>>
>>> And then I have an easily accessible bookmark for it.  Very handy for 
>>> testing simple things.
>>>
>>> On Sunday, October 28, 2012 5:48:39 AM UTC-6, Angelo Chen wrote:
>>>>
>>>> I did some google, and found out python has that: 
>>>>
>>>> python -m SimpleHTTPServer 
>>>>
>>>>
>>>> On Oct 28, 5:26 pm, Ryan Schmidt <[email protected]> wrote: 
>>>> > On Oct 28, 2012, at 02:53, Angelo Chen wrote: 
>>>> > 
>>>> > > trying to find a quick and dirty solution in nodejs: often need to 
>>>> access a folder in mac from  ipad's Safari, is there a simple, one file 
>>>> nodejs script that can do it? thanks, 
>>>> > 
>>>> > Be more specific. Define "access". 
>>>> > 
>>>> > If you just want to see the contents of a folder on your Mac from 
>>>> your iPad and access MobileSafari-compatible files inside it, for example, 
>>>> you could run any web server on your Mac and let it serve that folder. 
>>>> Since I'm guessing that's not what you meant, let us know what you meant. 
>>>>
>>>  -- 
>>> Job Board: http://jobs.nodejs.org/
>>> Posting guidelines: 
>>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>>> You received this message because you are subscribed to the Google
>>> Groups "nodejs" group.
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>> For more options, visit this group at
>>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>>
>>  -- 
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines: 
>> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
>> You received this message because you are subscribed to the Google
>> Groups "nodejs" group.
>> To post to this group, send email to [email protected]<javascript:>
>> To unsubscribe from this group, send email to
>> [email protected] <javascript:>
>> For more options, visit this group at
>> http://groups.google.com/group/nodejs?hl=en?hl=en
>>
>
>
>
> -- 
> Arunoda Susiripala
>
> @arunoda <http://twitter.com/arunoda>
> <http://gplus.to/arunoda>https://github.com/arunoda
> http://www.linkedin.com/in/arunoda
>
>  

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to