Levantando um http server simples no OSX, de forma nativa
Posted by Luiz Picanço | Posted in LifeHack, MAC OSX, Python | Posted on 10-03-2011
2,911
Estava precisando levantar um simples servidor http de páginas estáticas no osx. Após uma busca no google, descobri uma forma muito simples de fazer isso, utilizando pyhton, que ja vem embutido no osx.
É só executar o seguinte comando do diretório a ser servido:
Hadron:HTML lpicanco$ python -m SimpleHTTPServer 8082
Um simples servidor HTTP será iniciado para o diretório local. 8082 é o número da porta.


Websites we think you should visit…
[...]although websites we backlink to below are considerably not related to ours, we feel they are actually worth a go through, so have a look[...]……
Awesome website…
[...]the time to read or visit the content or sites we have linked to below the[...]……
Related……
[...]just beneath, are numerous totally not related sites to ours, however, they are surely worth going over[...]……
Check this out…
[...] that is the end of this article. Here you’ll find some sites that we think you’ll appreciate, just click the links over[...]……
Great website…
[...]we like to honor many other internet sites on the web, even if they aren’t linked to us, by linking to them. Under are some webpages worth checking out[...]……
Dreary Day…
It was a dreary day here today, so I just took to messing around on the internet and found…
Recommeneded websites…
Here you’ll find some sites that we think you’ll appreciate, just click the links over…
Great blog…
The next time I read a blog, I hope that it doesnt disappoint me as much as this one. I mean, I know it was my choice to read, but I actually thought youd have something interesting to say. All I hear is a bunch of whining about something that you coul…
[...]the time to read or visit the content or sites we have linked to below the[...]……
[...]here are some links to sites that we link to because we think they are worth visiting[...]……
Blogs ou should be reading…
[...]Here is a Great Blog You Might Find Interesting that we Encourage You[...]……
Levantando um http server simples no OSX, de forma nativa | Programando na madrugada…
magnificent points altogether, you just gained a new reader. What would you recommend about your post that you made a few days ago? Any positive?…