Skip to content
Snippets Groups Projects
Commit 7a9ccea4 authored by mowoe's avatar mowoe
Browse files

fixed reverends shit and nascht some

parent 177181d1
No related branches found
No related tags found
No related merge requests found
...@@ -2,4 +2,5 @@ FROM tiangolo/uwsgi-nginx-flask:python3.6 ...@@ -2,4 +2,5 @@ FROM tiangolo/uwsgi-nginx-flask:python3.6
RUN pip install peewee RUN pip install peewee
RUN pip install mysql RUN pip install mysql
RUN git clone https://gitlab.warpzone.ms/mowoe/chaos_familien_duell_frontend.git /zwisch RUN git clone https://gitlab.warpzone.ms/mowoe/chaos_familien_duell_frontend.git /zwisch
ADD creds.json /app/
RUN mv /zwisch/* /app RUN mv /zwisch/* /app
from flask import Flask from flask import Flask
from view.questions import questions from view.questions import questions
from model import Question
import json
if len(Question.select()) is 0: if len(Question.select()) is 0:
with open("questions.json", "r") as file: with open("questions.json", "r") as file:
......
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