felipe74590 / atx-events

App for Events in Austin Texas
0 stars 0 forks source link

deployment #24

Closed bbelderbos closed 1 month ago

bbelderbos commented 1 month ago

For in a week or so:

bbelderbos commented 1 month ago

@felipe74590 ok, it is indeed pretty simple, only hit a thing with the env variable, heroku = postgres, app wants postgresql, see here: https://github.com/PyBites-Open-Source/affirmations-api/blob/main/heroku.md

HTH Bob

felipe74590 commented 1 month ago

Was able to create app and test deployments, ran into the heroku/postgres issue and used the example work around provided to solve that. Currently running into a dependency issue that I will look further into. EDIT: NVM, looks like I have the dependency set in my dev-dependencies and requirements only has dependencies.

remote:     dbapi = dbapi_meth(**dbapi_args)
remote:             ^^^^^^^^^^^^^^^^^^^^^^^^
remote:   File "/app/.heroku/python/lib/python3.12/site-packages/sqlalchemy/dialects/postgresql/psycopg2.py", line 690, in import_dbapi
remote:     import psycopg2
remote: ModuleNotFoundError: No module named 'psycopg2'
remote: Waiting for release... failed.
To https://git.heroku.com/atx-events-api.git
   ecbe50f..2d15299  main -> main
bbelderbos commented 1 month ago

yep, before seeing this I already logged an issue for this: https://github.com/felipe74590/atx-events/issues/39