Coder Social home page Coder Social logo

Comments (8)

zachwill avatar zachwill commented on June 27, 2024

Hmm, that's bizarre — especially since that name's not taken. And I'm assuming all the files are intact, too (bootstrap.py, same app layout, etc)? \ Let me make a quick side app and see if my push fails, too.

from flask_heroku.

zachwill avatar zachwill commented on June 27, 2024

Test app went through. Maybe running a heroku destroy and then going through the steps again should work? And I'm assuming you're using the latest revisions to this repository (so your Procfile and everything should be solid).

I found some tweets from awhile back about some weirdness, but nothing recent — maybe it was a momentary bug with Heroku?

from flask_heroku.

davidthewatson avatar davidthewatson commented on June 27, 2024

No, it's repeatable even after the destroy. I had done that before I posted this issue. Sorry, should have mentioned that.

Apparently, this started back in August...

mwotton/heroku_haskell_demo#2

but the cause and workaround are not exactly clear to me since I don't know much about the underlying heroku implementation. Anything specific I should check or try?

from flask_heroku.

zachwill avatar zachwill commented on June 27, 2024

If it's open-source, you could push it up to Github and I can take a look at the repository? Interesting bug — definitely don't want anyone else to go through these problems.

from flask_heroku.

davidthewatson avatar davidthewatson commented on June 27, 2024

I followed the directions from your project landing page on github. I didn't even change the directory name as you can see here:

https://github.com/davidthewatson/env

Let me know if I made a mistake. Thanks!

from flask_heroku.

zachwill avatar zachwill commented on June 27, 2024

Looked through it and it seems the env is 100% right. A quick workaround I can think of is cloning flask_heroku into a new repository, then...

  1. rm -rf .git
  2. git init && git aa
  3. git ci -am "First commit"
  4. heroku create --stack cedar
  5. git push heroku master

If that goes through, you can port your modified files from junker over — and odds are you'll find the problem.

A slightly involved solution to create a new application, but I'm stumped at the moment. Hope that helps!

from flask_heroku.

davidthewatson avatar davidthewatson commented on June 27, 2024

I think the problem stemmed from my being in the virtualenv (env) directory when I did the git stuff. It wasn't obvious to me that I should have been in the heroku-flask directory. I did rm -rf on .git in the env directory then went up to the heroku_flask directory and repeated the heroku commands. I now have the app running on heroku so thanks for the help!
I also had to add my pub key to heroku or I got permission denied.

heroku keys:add ~/.ssh/id_rsa.pub

Please confirm that I'm understanding this correctly and it might help to update the readme with the aforementioned.

Cheers,
Dave

from flask_heroku.

zachwill avatar zachwill commented on June 27, 2024

Good deal — glad you got everything worked out, man. I'll close this issue and update the README.

from flask_heroku.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.