Skip to content
Snippets Groups Projects
Commit 271c7b2e authored by mowoe's avatar mowoe
Browse files

reverted to sqlite

parent 0697fa0b
No related branches found
No related tags found
No related merge requests found
......@@ -4,3 +4,4 @@ RUN pip install mysql
RUN git clone https://gitlab.warpzone.ms/mowoe/chaos_familien_duell_frontend.git /zwisch
ADD creds.json /app/
RUN mv /zwisch/* /app
RUN rm /app/cfd.sqlite
\ No newline at end of file
......@@ -5,7 +5,7 @@ import json
mysql_creds = json.load(open("./creds.json"))
sqlite = SqliteDatabase("static/cfd.sqlite", pragmas={'foreign_keys': 1})
sqlite = SqliteDatabase("cfd.sqlite", pragmas={'foreign_keys': 1})
sqlite.connect()
#sqlite = MySQLDatabase(mysql_creds["db"], user=mysql_creds["user"], password=mysql_creds['password'],
# host=mysql_creds['host'], port=int(mysql_creds['port']),)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment