snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Deploy to Heroku button doesn't work

Open lewisstancer opened this issue 1 year ago • 3 comments

Debug mode

Describe the bug

When deploying to Heroku using the button from the GitHub README, the following error is shown

image

Reproduction steps

  1. Click deploy to heroku
  2. Fill out required fields
  3. Click Deploy app
  4. Error is shown within a few seconds

Expected behavior

App should deploy to heroku

Screenshots

image

Snipe-IT Version

Heroku

Operating System

Heroku

Web Server

Heroku

PHP Version

Heroku

Operating System

No response

Browser

No response

Version

No response

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

No response

Additional context

No response

lewisstancer avatar Feb 14 '24 12:02 lewisstancer

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

welcome[bot] avatar Feb 14 '24 12:02 welcome[bot]

I'm not super shocked by that, as that button was added back before Heroku took away their free tier. Not sure how it works these days.

snipe avatar Feb 15 '24 21:02 snipe

I don't know how these buttons are made but should just be a case of changing the dyno tier? Happy to pay for whatever needs to be integrated for the simplicity of pushing to Heroku.

Might be worth having an option without a mysql database and then adding the necessary environment variables to the deployment as I would probably use my own sql server anyway

lewisstancer avatar Feb 16 '24 10:02 lewisstancer

I honestly haven't used Heroku in a million years, so I have no idea how those buttons are made or if there's something else that needs to be done to get them to work on the dyno tier tbh. If you can figure it out, I'd be happy to look at a PR tho.

Might be worth having an option without a mysql database and then adding the necessary environment variables to the deployment as I would probably use my own sql server anyway

You can use sqlite if you want to, but without any kind of database, you're never going to be able to get through the QuickStart.

snipe avatar Mar 27 '24 19:03 snipe