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

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 admin
Octocat-spinner-32 api
Octocat-spinner-32 app
Octocat-spinner-32 config
Octocat-spinner-32 db
Octocat-spinner-32 lib
Octocat-spinner-32 public
Octocat-spinner-32 test
Octocat-spinner-32 .components
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 config.ru
Octocat-spinner-32 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.