- removed obsolete run-scripts and start-scripts
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
from gevent import monkey
|
||||
monkey.patch_all()
|
||||
|
||||
from eveai_api import create_app
|
||||
|
||||
app = create_app()
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
@@ -1,9 +0,0 @@
|
||||
from gevent import monkey
|
||||
monkey.patch_all()
|
||||
|
||||
from eveai_app import create_app
|
||||
|
||||
app = create_app()
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
@@ -1,9 +0,0 @@
|
||||
from gevent import monkey
|
||||
monkey.patch_all()
|
||||
|
||||
from eveai_chat_client import create_app
|
||||
|
||||
app = create_app()
|
||||
|
||||
if __name__ == '__main__':
|
||||
app.run(debug=True)
|
||||
@@ -1,4 +0,0 @@
|
||||
from eveai_chat_workers import celery
|
||||
|
||||
if __name__ == '__main__':
|
||||
celery.start()
|
||||
@@ -1,4 +0,0 @@
|
||||
from eveai_workers import celery
|
||||
|
||||
if __name__ == '__main__':
|
||||
celery.start()
|
||||
@@ -1,28 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# scripts/start_flower.sh
|
||||
|
||||
# Set default values
|
||||
REDIS_HOST=${REDIS_URL:-redis}
|
||||
REDIS_PORT=${REDIS_PORT:-6379}
|
||||
|
||||
# Set environment-specific variables
|
||||
if [ "$FLASK_ENV" = "production" ]; then
|
||||
# Production settings
|
||||
export FLOWER_BASIC_AUTH="${FLOWER_USER}:${FLOWER_PASSWORD}"
|
||||
export FLOWER_BROKER_URL="redis://${REDIS_USER}:${REDIS_PASS}@${REDIS_URL}:${REDIS_PORT}/0"
|
||||
export CELERY_BROKER_URL="redis://${REDIS_USER}:${REDIS_PASS}@${REDIS_URL}:${REDIS_PORT}/0"
|
||||
else
|
||||
# Development settings
|
||||
export FLOWER_BROKER_URL="redis://${REDIS_HOST}:${REDIS_PORT}/0"
|
||||
export CELERY_BROKER_URL="redis://${REDIS_HOST}:${REDIS_PORT}/0"
|
||||
fi
|
||||
|
||||
echo $BROKER_URL
|
||||
echo "----------"
|
||||
|
||||
# Start Flower
|
||||
exec celery flower \
|
||||
--url-prefix=/flower \
|
||||
--port=5555
|
||||
@@ -1,6 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
cd "/Volumes/OWC4M2_1/Dropbox/Josako's Dev/Josako/EveAI/Development/eveAI/logs/" || exit 1
|
||||
|
||||
logdy follow --full-read eveai_app.log eveai_workers.log
|
||||
|
||||
Reference in New Issue
Block a user