A basic and functional url shortener with RoR
-
Clone this repo:
<tt>git clone [email protected]:ravishanker/urlshortener.git</tt>
-
Run rake :
<tt>cd urlshortener; rake db:migrate</tt> (rake -T for options)
-
Change directory to
urlshortener
and start the web server:<tt>cd urlshortener; rails server</tt> (run with --help for options)
-
Go to localhost:3000/ and you’ll see:
"Welcome aboard: You're running Shorten!"