twitter #2

Merged
s434708 merged 50 commits from twitter into master 2022-06-09 19:42:33 +02:00
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 38094e7b26 - Show all commits

View File

@ -4,8 +4,8 @@ USER root
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN chmod u+x setup_core.sh #RUN chmod u+x setup_core.sh
RUN bash setup_core.sh #RUN bash setup_core.sh
RUN pip3 install -r requirements.txt RUN pip3 install -r requirements.txt
EXPOSE 5000/udp EXPOSE 5000/udp
EXPOSE 5000/tcp EXPOSE 5000/tcp

View File

@ -5,7 +5,7 @@ from twitter import twitter
from twitter.models import twitter_db from twitter.models import twitter_db
from campaign import campaign from campaign import campaign
from campaign.models import campaign_db from campaign.models import campaign_db
import pbrAyctCore.core as core #import pbrAyctCore.core as core
def create_app(): def create_app():
app = Flask('ayct-backend') app = Flask('ayct-backend')
@ -23,6 +23,6 @@ def create_app():
@app.route('/hello') @app.route('/hello')
def hello(): def hello():
return core.getTestString() return "Hello world!"
return app return app