DEV Community


Discussion on: Guide to Drupal 9 on Heroku

oleksii909 profile image
Oleksii Bondarenko • Edited

heroku create [your_app_name]
-add psql addon in heroku ui
heroku config:set DATABASE_URL=[URI] --app [your_app_name]
git init
heroku git:remote --app [your_app_name]

  • add vendor to .gitignore git checkout -b main git add . git commit -m "initial commit" git push heroku main

Follow the app url provided by cli:
in my case:

remote: -----> Compressing...
remote:        Done: 33.3M
remote: -----> Launching...
remote:        Released v5
remote: deployed to Heroku
remote: Verifying deploy... done.
 * [new branch]        main -> main
Enter fullscreen mode Exit fullscreen mode
but you can check the result -> it is not working
HELP me please.