JoshRhoades Posted April 23, 2013 Share Posted April 23, 2013 This workflow will take the focused/front Finder window and create a temporary Python Server at that location, using `python -m SimpleHTTPServer`. Function will also open the default web server URL (http://0.0.0.0:8000) in the default browser when the python server has started. This is an extremely handy way to quickly test code in a server environment, especially when working with cross-domain functionality that will not work from localhost/local file server. Basically allowing you to create an ad-hoc/on-demand web server at any Finder location on your mac. Borrows some of the Terminal Finder functionality from Chris Yip's "Terminal Here" workflow: http://chrisyip.im/ Download: http://cloud.joshuarhoades.com/3O0c1h3P250l alfredpleb 1 Link to comment
alfredpleb Posted April 26, 2018 Share Posted April 26, 2018 (edited) I just wanted to say thanks for putting this together. I was about to ask the forum about how I might accomplish this. So far, working like a charm. Cheers! Edited April 26, 2018 by alfredpleb Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now