FeedTheCube / CogDoc

0 stars 0 forks source link

Add web.config File #28

Open hyndgrinder opened 6 years ago

hyndgrinder commented 6 years ago

We need a place to capture user environment variables. In a perfect world, there is a system to prompt the user for configurations which are incorrect or incomplete, save them to the web.config, but the front isn't necessary to start.

SinclairC commented 6 years ago

I've added a branch called connectionConfig, as I imagine you've noticed. This is just a WIP branch, not yet meant to be merged.

In theory, it should work for your DB (if you add the user and password info to the config file) but it doesn't yet work for my mySQL DB because it's still using your premade query (It does connect; it's just the query that fails).

I haven't implemented any of the changes I talked about in the other issue, like moving methods out of main.py. This is just focused on parsing the config file and connecting using the parsed settings. Also note that I realize we have to encrypt the user IDs and passwords somehow, and/or prompt for them.

hyndgrinder commented 6 years ago

Added a new bug to track the problem with the SQL(#32 ).