Open loonydev opened 5 years ago
Not sure how to do it properly. Ideally it needs to generate settings.py as well.
Why not? Add gitignore on settings.py, when script start ask user to enter data like bot token (and print some help), after ask data for MySQL (or better SQLite) and fill the DB.
For example, I want to fix something. I need to setup MySQL db with your schemes and it will be much easier if I just past my SQL creds in script and bot, if detect that db is not configured run some kind of
init
and create a table in DB