This is just a simple Sinatra app layout with error pages and logging. Is the same one I use when I have to build any Sinatra-based app.
You can just do git clone [email protected]:Pablo-Merino/sinatra_app_layout.git my_app_name
to get started!
Files:
application.rb
config.ru
Gemfile
log/sinatra.log
public/error.css
public/main.css
tmp/restart.txt
views/errors
views/errors/error.haml
views/errors/error_dev.haml
views/errors/error_layout.haml
views/index.haml
views/layout.haml