Bootstrap Sinatra
A simple Ruby script to get your Sinatra app started.
Requirements
- Bundler -
gem install bundler
Usage
As a shell script:
chmod +x bootstrap_sinatra.rb
./bootstrap_sinatra.rb app_name
Via Ruby:
ruby bootstrap_sinatra.rb app_name
Created files
- /app_name
- app_name.rb - Add Sinatra routes here
- Gemfile - List gem dependecies here
- config.ru - Rack file
- /views - Place templates here
- /public - Place static content here