Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
url shortener demo
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
admin
api
app
config
db
lib
public
test
.components
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
test.watchr

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.