www_here
Add this to your ~/.profile to start a web server listening to http://localhost:8000/, serving the current directory:
function www_here {
python -m SimpleHTTPServer
}Add this to your ~/.profile to start a web server listening to http://localhost:8000/, serving the current directory:
function www_here {
python -m SimpleHTTPServer
}
Ralf Ebert is an independent software developer, technical writer and trainer. He makes apps for Mac OS X and iOS and builds software solutions for companies using Eclipse RCP and Ruby on Rails. He offers training courses for software developers and writes books and articles about software development.