Skip to content

Latest commit

 

History

History
89 lines (53 loc) · 1.69 KB

README.md

File metadata and controls

89 lines (53 loc) · 1.69 KB

Hurl

Hurl was created for the Rails Rumble 2009 in 48 hours. Now Hurl is an open source project for your enjoyment.

http://hurl.it/

Installation

Hurl requires Ruby 1.8.6+

First download hurl and cd into the directory:

git clone git://github.com/twilio/hurl
cd hurl

Or download the zip.

Next make sure you have RubyGems installed.

Then install Bundler:

gem install bundler

Now install Hurl's dependencies:

bundle install

Run Locally

bundle install
bundle exec shotgun config.ru

Setting up Postgres

Make sure you have the user postgres created

In psql run:

# CREATE DATABASE hurls;
# \connect hurls;
# create table views (id character(40), content bytea);
# create table hurls (id character(40), content bytea);
# create table users (id character(40), content bytea);

Make sure to have the proper permissions: # Assign owner to postgres # ALTER TABLE views OWNER TO postgres; # ALTER TABLE hurls OWNER TO postgres; # ALTER TABLE users OWNER TO postgres;

Now visit http://localhost:9393

Run in Heroku

heroku create
git push heroku master
heroku open

This will open a copy of Hurl running on your own private Heroku instance.

Issues

Find a bug? Want a feature? Submit an issue here. Patches welcome!

Screenshot

Hurl

Original Authors

  • [Leah Culver][2]
  • [Chris Wanstrath][3]