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

Feature Request: Port database to SQlite #29

Open
logicallysynced opened this issue Mar 25, 2018 · 4 comments
Open

Feature Request: Port database to SQlite #29

logicallysynced opened this issue Mar 25, 2018 · 4 comments

Comments

@logicallysynced
Copy link

logicallysynced commented Mar 25, 2018

Just a thought while trying to get this up and running for myself..

Could you possible port the database aspect of this bot to SQLite? That way you can store all your database stuff in a single file and include it with your dist. Seems much more efficient than having to rely on MySQL and all the overhead that comes with that.

https://www.sqlite.org/index.html

On that note, could you please provide a template to upload to my MySQL db to populate the tables?

@Citillara
Copy link
Owner

Can add the scripts for generating the database no problem. Will upload them in the day.

SQL Lite has never been considered because a website is also used for management (exemple : https://www.citillara.fr/citibot/c/elbody/cookies/flavours)

@Citillara
Copy link
Owner

I added the database creation script and some example data that you'll need to start the bots.

Don't forget that you'll also need the 2 others projects that I made TwitchClient and IrcClient.

You will also need to generate an irc oauth token for twitch which you can do there https://twitchapps.com/tmi/

@Citillara Citillara self-assigned this Mar 25, 2018
@Citillara
Copy link
Owner

With incoming architecture V3, the data access will be decoupled from the current framework. Instead the bot will ask for Interfaces to retrive data

@Citillara
Copy link
Owner

Still thinking on it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants