Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I'm trying to get the Neo4j on Heroku and Getting Started with Python on Heroku tutorials up and going. The Neo4j one works fine, but the Python one has problems.

For anyone else trying to follow this tutorial, I've recorded the problems and my solutions to help you out as well.

This is all done on a Win7 x64 dev machine.

Q1) "virtualenv venv --distribute" - errors with:

'virtualenv' is not recognized as an internal or external command, operable program or batch file.

A1) The workaround is to fully qualify the path to: "C:\Python27\Scripts\virtualenv venv --distribute"

Q2a) "foreman start" - errors with:

'foreman' is not recognized as an internal or external command, operable program or batch file.

A2) Looks like a path issue so I ran the line:

"set PATH=%PATH%;C:\Program Files (x86)\Heroku\ruby-1.9.2\bin\"

Q2b) "foreman start" now errors:

Bad file descriptor {Ruby paths...}

A2b) Help?

So I can't run the app locally, but maybe still on the server, so moving on...

Q3) .gitignore - can't create this file on Windows.

A3) Clone another project and copy that file and edit.

Q4) "git push heroku master" - errors with:

Permission denied (publickey). fatal: Could not read from remote repository.

Please make sure you have the correct access rights and the repository exists.

A4) Help?

Any ideas?

share|improve this question
add comment (requires an account with 50 reputation)

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.