-
Notifications
You must be signed in to change notification settings - Fork 19
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
Dockerfile #2
Comments
It could be an interesting solution, but I don't have docker here. And build and updating the containers will need extra maintenance right now. Pls, can you paste the output of your pip install, so we can have a better idea of what is missing? |
pip install output
marcelo.py output
|
Great, thanks! I just ran a fresh install under a clean environment and I think I solved all requirement problems. But there is some fix you need to do manually: Youtube APIs changed an instruction and it needs to be fixed because pytube didn't publish the fix yet. Please, clone the repo and try pip install. |
I installed docker over here and prepared a Dockerfile. It patches the pytube bug and the build is running properly here. Pls, give it a test... probably it will be easier to run. |
@eddieoz I can run it now! I also created a version: '3'
services:
marcelo:
build: .
container_name: marcelo
volumes:
- ./lists:/app/lists
- ./font:/app/font
- ./backgrounds:/app/backgrounds
- ./assets:/app/assets
- ./thumbs:/app/thumbs |
Minor feedbacks (not related to this exactly):
|
Thanks for the feedbacks!
Because it can't access your browser and get the callback because of the container, I recommend running the youtubeuploader manually, outside the container, for uploading any general video (to be excluded after). So it can create the needed authorization file, which the docker build will send to your container to be used the next times. The process above is needed before building the container just for the first time. And everything, be sure the client_secrets.json is properly created through the Youtube API v3 proccess on Google Cloud.
|
Description
Even with #1 solved, I still need to install some other dependencies and cannot run the code. Would be nice to have a
Dockerfile
, so we can ensure that this will work in any environment.The text was updated successfully, but these errors were encountered: