Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

j0k3r/hurl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hurl

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

About this fork

This fork is intented to fix some errors (autocomplete, pubic_path, CodeRay, and few others). I also removed GitHub login.

And the main change is to the design. I rebuilt the layout using the fresh Foundation v3. Hurl.eu is now responsive on phones and tablets.

Installation

Hurl requires Ruby 1.8.6+ (but I recommend to use ruby 1.9)

apt-get install ruby1.9-dev

First download hurl and cd into the directory:

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

Install RubyGems:

sudo apt-get install rubygems

Then install Bundler:

gem install bundler

Now install Hurl's dependencies:

bundle install

If you got problem with curb, run these commands and re-try bundle install:

sudo apt-get install curl libcurl3 libcurl3-gnutls libcurl4-openssl-dev
gem install curb --platform=ruby

Run Locally

bundle exec shotgun config.ru

Now visit http://localhost:9393

Run as a daemon

Install thin (or unicorn)

gem install thin

Run thin as a daemon (the -s indicate how many instance you want)

thin -s 1 -R config.ru start

Now visit http://localhost:3000

Configuration

If you want to configure few things, create a file env.rb in the root dir with:

ENV['DEBUG']          = '0'
ENV['WEBSITE']        = 'hurl.eu' # url of the website
ENV['GA_CODE']        = 'UA-345518-XX' # Google Analytics code

Issues

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

Screenshot

Hurl

Original Authors

About

Hurl makes HTTP requests. Rebuilt using Foundation 3.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 65.3%
  • HTML 14.4%
  • Ruby 14.4%
  • CSS 5.9%