I actually use this in my .zshrc:
alias servethis=python -m SimpleHTTPServer
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:
On 29 October 2012 00:48, Angelo Chen angelochen...@gmail.com wrote:
I did some google, and found out python has that:
python -m SimpleHTTPServer
Similar to this:
$ npm install -g http-server
$ http-server your-folder/
It'll be served up on port 8080. You can use options to change
This works very well, thanks.
if nodejs has a default http - server like this, that will be cool,
wondering why not ? Python got one.
On Monday, October 29, 2012 6:14:06 AM UTC+8, chilts wrote:
On 29 October 2012 00:48, Angelo Chen angelo...@gmail.com javascript:
wrote:
I did some google,