Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions for Heroku? #162

Open
TylerHobanDotCom opened this issue Sep 13, 2018 · 4 comments

Comments

@TylerHobanDotCom
Copy link

commented Sep 13, 2018

I am looking to selfhost Invidious on Heroku. In its current state Invidious can't just be deployed as it doesn't have a Procfile and also Heroku's Crystal buildpack is community maintained so it can be kinda broken. I would probably have to find a add-on to make logins work (even though I don't plan on using them) as Heroku does not have SQL or any type of database system built into webapps. It may even require a seperate branch of the source code just to make Invidious compatible. I am not the sharpest when it comes to Crystal but I could definitely help with creating a branch that is ready to deploy to Heroku.

I also understand if you wish not to support Heroku. In that case I may just make my own repo and try to make that work. I await your reply.

Resources:

Crystal buildpack for Heroku: https://github.com/crystal-lang/heroku-buildpack-crystal
Procfile format: https://devcenter.heroku.com/articles/procfile
Potential add on to be used for database: https://elements.heroku.com/addons/heroku-postgresql

@omarroth

This comment has been minimized.

Copy link
Owner

commented Sep 13, 2018

I don't know much about Heroku, but I am currently looking into alternative ways to host Invidious: as a Docker image, on Ubuntu, and obviously support for Heroku would be good so that other folks can host the project.

Unfortunately it may be a bit before I can dig into this, although I would absolutely be interested in merging if you'd like to work on it, and I'd be happy to answer any questions here or on the FreeTube Matrix server.

@omarroth

This comment has been minimized.

Copy link
Owner

commented Sep 29, 2018

Just merged support for Docker with #186. As I mentioned earlier I'm not familiar with Heroku, but I saw this article, which might be a good place to start for creating clusters on Heroku.

@gustavo-gomez

This comment has been minimized.

Copy link

commented Dec 24, 2018

Hey! I managed to get the app running in Heroku: https://invidious.herokuapp.com

My changes are not ready for a pull request yet but I plan to work on this soon. Wonderful project!

@TylerHobanDotCom

This comment has been minimized.

Copy link
Author

commented Dec 30, 2018

@gustavo-gomez Incredible! Nice work, please provide source as soon as possible. Can't wait to deploy this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.