Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
chaos_familien_duell_frontend
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mowoe
chaos_familien_duell_frontend
Commits
7a9ccea4
Commit
7a9ccea4
authored
6 years ago
by
mowoe
Browse files
Options
Downloads
Patches
Plain Diff
fixed reverends shit and nascht some
parent
177181d1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dockercont/Dockerfile
+1
-0
1 addition, 0 deletions
dockercont/Dockerfile
main.py
+2
-0
2 additions, 0 deletions
main.py
with
3 additions
and
0 deletions
dockercont/Dockerfile
+
1
−
0
View file @
7a9ccea4
...
@@ -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
This diff is collapsed.
Click to expand it.
main.py
+
2
−
0
View file @
7a9ccea4
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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment