Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

url shortener demo

branch: master
Octocat-spinner-32 admin add admin_page link
Octocat-spinner-32 api
Octocat-spinner-32 app 'prettier' links/show
Octocat-spinner-32 config add padrino admin
Octocat-spinner-32 db add padrino admin
Octocat-spinner-32 lib initial commit
Octocat-spinner-32 public add padrino admin
Octocat-spinner-32 test update padrino/capybara
Octocat-spinner-32 .components add padrino admin
Octocat-spinner-32 .gitignore initial commit
Octocat-spinner-32 Gemfile update padrino/capybara
Octocat-spinner-32 Gemfile.lock update padrino/capybara
Octocat-spinner-32 README.md add README
Octocat-spinner-32 Rakefile add test setup
Octocat-spinner-32 config.ru initial commit
Octocat-spinner-32 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.