HA6Bots / Automatic-Youtube-Reddit-Text-To-Speech-Video-Generator-and-Uploader

A series of 3 programs that will automatically receive scripts from Reddit, allow the user to edit them, then be sent off to a video generator where they will be uploaded to YouTube automatically.
MIT License
610 stars 181 forks source link

Full tutorials? #82

Open eoinmcnulty425 opened 2 years ago

eoinmcnulty425 commented 2 years ago

Anyone willing to write/upload a detailed tutorial on getting this running?

First time using python, already giving me headaches. D:

stratty7 commented 2 years ago

it pretty complicated if its your first time with python. Probably need some sql knowledge too. Since its split into 3 parts (server, client, gen) i'd go through each part getting each working, starting with the server.

You'll need mysql installed on pc to do that.

initserver.py is the file you want to run to start the server.

init.py to start the client

youtubequeue.py to start the generator

You'll also have to install the requirements in dependencies.txt

Good luck.

https://github.com/HA6Bots/Automatic-Youtube-Reddit-Text-To-Speech-Video-Generator-and-Uploader/issues/61#issuecomment-776411803

eoinmcnulty425 commented 2 years ago

I have made an SQL server, put in [database] host = "localhost", user = "root", password = "password"

i run initserver.py by dragging the file into powershell and pressing enter. I get a terminal that displays found config.ini i press enter and it closes?

eoinmcnulty425 commented 2 years ago

I also put the port as 3306 same as the server port when i created? Unsure what I am doing wrong.

eoinmcnulty425 commented 2 years ago

And yes I have dependencies installed.

eoinmcnulty425 commented 2 years ago

is the [reddit] field mandatory to fill out for starting the server?

eoinmcnulty425 commented 2 years ago

When I run initserver.py the Total connections on my sql workbench increase, however I cannot see any of the data tables created as specified in database.py

eoinmcnulty425 commented 2 years ago

So it is not creating a database, although I believe it is connecting to mysql server