Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
url shortener demo
Ruby
branch: master
Failed to load latest commit information.
admin add admin_page link
api add api
app 'prettier' links/show
config add padrino admin
db add padrino admin
lib initial commit
public add padrino admin
test update padrino/capybara
.components add padrino admin
.gitignore initial commit
Gemfile update padrino/capybara
Gemfile.lock update padrino/capybara
README.md add README
Rakefile add test setup
config.ru initial commit
test.watchr add api

README.md

Padrino URL Shortener Demo

Generated Components

  • Mongoid
  • Haml
  • SCSS
  • Riot
  • RR
  • JQuery

Setup

Make sure that you have MongoDB installed. Then run bundle install

Running Demo

run the server by doing:

bundle exec padrino start

and visit the main page at http://localhost:3000/

To use the admin interface, seed an account by running:

bundle exec rake seed

Running Test Suite

The test suite uses watchr for autotest. You can run it using:

watchr test.watchr

You can activate the full suite by doing CTRL + \

or you can run the suite yourself with:

bundle exec rake test
Something went wrong with that request. Please try again.