codealchemist / youtube-audio-server

Easily stream and download audio from YouTube.
75 stars 32 forks source link

can't install on heroku #7

Closed vapormusic closed 6 years ago

vapormusic commented 6 years ago

i tried to install the latest version of this app on heroku and it doesnt work

pkpp1233 commented 6 years ago

+1

thecooltechguy commented 6 years ago

This is happening because yas is trying to use port 80, but Heroku doesn't allow that port. In fact, I got the same problem running the latest yas locally, and by running "sudo yas", my laptop gave the program permission to use port 80.

codealchemist commented 6 years ago

You can change default port with the PORT env var. Like: PORT=9000 yas

The problem I found on Heroku is that ffmpeg is not available, and it's required for this module to work. I think you can set which Linux dependencies you want to be installed on Heroku but I wasn't able to make it work.

edwinharly commented 6 years ago

Yesterday I was trying to deploy it to Heroku, you need to add heroku's ffmpeg buildpack to your Heroku configuration.

codealchemist commented 5 years ago

Yay! Just tried installing the ffmpeg buildpack and got it working on Heroku. Installed with: heroku buildpacks:add https://github.com/jonathanong/heroku-buildpack-ffmpeg-latest.git

Thanks @edwinharly :)

vapormusic commented 5 years ago

Thank you very much! It works great now!