Upload meter - Solution for the recruitment process challange
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
fixtures
nginx
public
views
.gitignore
README
app.rb
app_test.rb
start.rb

README

Gem requirements:

  gem install sinatra haml rack-test

Running testcase:

  ruby -rubygems app_test.rb

Running sinatra cluster:

  ruby -rubygems start.rb

To build nginx:

 cd nginx/vendor
 tar xzf nginx-0.8.53.tar.gz

 git clone http://github.com/masterzen/nginx-upload-progress-module.git nginx-upload-progress-module

 cd nginx-0.8.53
 ./configure --add-module=../nginx-upload-progress-module --prefix=`pwd`/../..
 make && make install

Running nginx

  sudo nginx/sbin/nginx

from root repo directory.