mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Codestyle update
This commit is contained in:
parent
99a8ea98e2
commit
1c8146e4a5
@ -5,5 +5,4 @@ echo "Waiting for nopaque..."
|
||||
wait-for-it nopaque:5000 --strict --timeout=0
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
python nopaqued.py
|
||||
|
@ -1,3 +1,4 @@
|
||||
from datetime import datetime
|
||||
from flask import current_app, request
|
||||
from flask_login import current_user
|
||||
from socket import gaierror
|
||||
@ -7,7 +8,6 @@ from ..events import connected_sessions
|
||||
from ..models import Corpus, User
|
||||
import cqi
|
||||
import math
|
||||
from datetime import datetime
|
||||
|
||||
|
||||
'''
|
||||
|
@ -5,8 +5,7 @@ echo "Waiting for mq..."
|
||||
wait-for-it "${NOPAQUE_MQ_HOST}:${NOPAQUE_MQ_PORT}" --strict --timeout=0
|
||||
|
||||
source venv/bin/activate
|
||||
|
||||
if [ "$#" -eq 0 ]; then
|
||||
if [[ "$#" -eq 0 ]]; then
|
||||
flask deploy
|
||||
python nopaque.py
|
||||
elif [[ "$1" == "flask" ]]; then
|
||||
@ -16,6 +15,6 @@ else
|
||||
echo ""
|
||||
echo "nopaque startup script"
|
||||
echo ""
|
||||
echo "Management Commands:"
|
||||
echo "Commands:"
|
||||
echo " flask"
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user