This is a small sinatra app including
- haml as the template engine
- bower as front end package manager
- jquery
- bootstrap (sass version)
- html5shiv
- font-awesome
- sprockets and helpers
Clone the project and just execute rake install task :
rake install
This will fetch gem and bower dependencies and reset the git repo.
A rake task is available to ping every hour the app.
heroku config:add PING_URL=http://my-app.herokuapp.com
heroku addons:add scheduler:standard
heroku addons:open scheduler
Add rake dyno_ping
to be run once an hour.
$ bundle exec guard
$ bundle exec rackup
And visit http://localhost:9292
- Write html in haml files under
views
. - Write server side app in
app.rb
- Write style under
assets/stylesheets
- Write amazing javascript under
assets/javascripts
- Don't forget, use bower to add nice js/css libs and sprockets to load them