This is a little webapp designed to show how to win PennApps with some classy web-development (using Sinatra). This app is live at http:https://pennapps-sinatra.herokuapp.com.
- Install Ruby 1.9.3
- Install the heroku toolbelt: https://toolbelt.heroku.com
- Install dm-sqlite-adapter and dm-postgres-adapter
- Check http:https://datamapper.org/getting-started.html under "Installing an Adapter" for instructions
- Run
bundle install
You also may have to install gcc and g++
- Run
foreman start
in the same directory as sample_app.rb - The app can be viewed in a browser at [localhost:5000] (http:https://localhost:5000)
- Create a heroku account at http:https://heroku.com
- Login to heroku by running
heroku login
- Run
heroku create
- Deploy with
git push heroku master
- Sinatra (http:https://sinatrarb.com)
- DataMapper (http:https://datamapper.org)
- HTML5 Boilerplate (http:https://html5boilerplate.com)
- Twitter Bootstrap (http:https://twitter.github.com/bootstrap)