Skip to content

benjimoola/sinatra-heroku-phantomjs

 
 

Repository files navigation

Sinatra+Heroku+PhantomJS

get links

Heroku

Install Dependencies

% npm install -g phantomjs
% gem install heroku foreman bundler
% bundle install

Run

% foreman start

=> http://localhost:5000

Deploy

push

% heroku create --buildpack git://github.com/ddollar/heroku-buildpack-multi.git
% git push heroku master
% heroku open

config

% heroku config:add LD_LIBRARY_PATH=/usr/local/lib:/usr/lib:/lib:/app/vendor/phantomjs/lib
% heroku config:add PATH=bin:vendor/bundle/ruby/1.9.1/bin:/usr/local/bin:/usr/bin:/bin:/app/vendor/phantomjs/bin

About

Sinatra+PhantomJS on Heroku

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 54.8%
  • JavaScript 21.4%
  • HTML 20.4%
  • CSS 3.4%