DocNow / diffengine

track changes to the news, where news is anything with an RSS feed
MIT License
177 stars 30 forks source link

Configurable database #82

Closed nahuelhds closed 4 years ago

nahuelhds commented 4 years ago

IMPORTANT. Do not merge yet. I'll be testing this in the real world today

Now the database connection is handled with the db property directly and using URL database connections. If no db prop is defined, the value sqlite:///diffengine.db is used in order to maintain compatibility.

With this method, you can use MySQL, PostgreSQL or any other engine supported by peewee. More info about database url connections here

Non related

I've create a suite for the feed tests and I've independizate them as well for easier testing

nahuelhds commented 4 years ago

Closing because the logging is broken. I'm going to re-do this entirely now I made it work so I don't loose logging capabilities