Hurl was created for the Rails Rumble 2009 in 48 hours. Now Hurl is an open source project for your enjoyment.
- The official url is: http://hurl.it/
- The unofficial url is: http://hurl.eu/ (because hurl.it is so often 502 Bad Gateway)
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.
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
bundle exec shotgun config.ru
Now visit http://localhost:9393
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
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
Find a bug? Want a feature? Submit an issue here. Patches welcome!