Skip to content

seanpascoe/nightmare-heroku

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

NightmareJS on Heroku Heroku deploy

contributions welcome
license GitHub issues

Intro

NightmareJS is an awesome highlevel webscraping and browser automation library built ontop of electron. This repo is a good starting place to be able to use it with some default setups ontop of heroku using the following instructions. Read more

Getting started

  • git clone --depth 1 git@github.com:oscarmorrison/nightmare-heroku [new-project-name]
  • cd [new-project-name]
  • rm -rf .git
  • git init
  • heroku create [app-name]
  • heroku stack:set cedar-14
  • set build packs
heroku buildpacks:add --index 1 https://github.com/heroku/heroku-buildpack-apt &&
heroku buildpacks:add --index 2 https://github.com/captain401/heroku-buildpack-xvfb.git &&
heroku buildpacks:add --index 3 https://github.com/benschwarz/heroku-electron-buildpack.git &&
heroku buildpacks:add --index 4 https://github.com/heroku/heroku-buildpack-nodejs.git
  • git push heroku master
  • heroku ps:scale web=0 worker=1

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.6%
  • Shell 10.4%