Tag Archives: nginx

Run Sinatra App in a Subdirectory with Rack::Builder.map

Thank god I found Tanner Burson’s blog. I was about to explode. I recommend reading Tanner’s original post, but the short answer is that you want Rack to do some routing for you via Rack::Bundler.map. Here is a super simple … Continue reading

Posted in Sinatra | Tagged , , , , , , , , , , , , , , , | Leave a comment

Develop Multiple Websites by Adding Hosts File Entries

Background I work on multiple websites. My workflow goes like this: Pull latest changes into my local repository (I use Git) Make changes Test changes on locally running web server Push changes to remote repository Pull changes into live site … Continue reading

Posted in workflows | Tagged , , , , , , | Leave a comment