How to structure a python phantomjs project for deployment to heroku

I’m trying to setup a testing project using python/selenium and phantomjs.

locally in windows I have the python part of my project in a virtualenv:

  • How to modify a snapshot (commit) in a linear history without conflict-related errors?
  • Directory mapping and merging in git
  • Crashlytics git management
  • git-p4: sync p4 changes to git repo
  • How do I re-integrate a svn and git repository without a common history?
  • Can I change the conflict markers in Git?
  • from selenium import webdriver
    driver = webdriver.PhantomJS(executable_path="C:\phantomjs.exe")
    

    It should be no problem to push this via git to heroku , probably changing the second line to :

    driver = webdriver.PhantomJS()
    

    But is it possible to push an executable of phantomjs to the same heroku application and access it via selenium. If so how is this done?

  • Configure (or mimic) svn:externals to include code from Github in a svn-hosted project
  • Git cannot create shallow-since locally
  • JGit list remote tags and sort by creation date
  • How do I commit a git tag?
  • git push master to github fails with no error. where are the logs?
  • git checkout throws fatal reference is not a tree
  • One Solution collect form web for “How to structure a python phantomjs project for deployment to heroku”

    Use heroku buildpacks to push binaries to your apps.

    I new to heroku too.

    I manage to push this repo https://github.com/leesei/heroku-casper-node to heroku (It contains node, phantomjs, casperjs, and you can add python buildpack to it) and you may need to add phantomjs to environment path (What I see the buildpacks seems to do this already)

    Git Baby is a git and github fan, let's start git clone.