-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #150 from NLP4ALL/feature/update-hierarchy
Feature/update hierarchy
- Loading branch information
Showing
47 changed files
with
2,586 additions
and
405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,11 @@ | ||
# environment variables for docker (app specific) | ||
DB_BACKEND=postgres | ||
POSTGRES_HOST=db-dev | ||
MONGODB_HOST=document-store-dev | ||
NLP4ALL_ENV=development | ||
DEBUG_FLASK_APP=0 | ||
DEBUG_FLASK_APP="0" | ||
FLASK_AUTO_RELOAD="1" | ||
NLP4ALL_ADMIN_EMAIL=example@example.org | ||
NLP4ALL_ADMIN_PASSWORD=example | ||
NLP4ALL_ORG_NAME=Example | ||
NLP4ALL_ORG_NAME=Example | ||
MQ_HOST=rabbitmq-dev |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM nginx:1.23.2 | ||
FROM nginx:1.23.4 | ||
RUN rm /etc/nginx/conf.d/default.conf | ||
COPY ./nginx.conf /etc/nginx/nginx.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
#!/bin/sh | ||
|
||
# Check if DEBUG_FLASK_APP = 1 | ||
RELOAD_CMD="--no-reload" | ||
if [ "$FLASK_AUTO_RELOAD" = "1" ]; then | ||
RELOAD_CMD="" | ||
fi | ||
if [ "$DEBUG_FLASK_APP" = "1" ]; then | ||
echo "Running NLP4ALL for VSCode Debugging" | ||
python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:5678 --wait-for-client -m flask --debug --app nlp4all run --host=0.0.0.0 --port=5000 | ||
python -Xfrozen_modules=off -m debugpy --listen 0.0.0.0:5678 --wait-for-client -m flask --no-debugger --app nlp4all run --no-reload --host=0.0.0.0 --port=5000 | ||
else | ||
echo "Running NLP4ALL Development Server" | ||
python -m flask --debug --app nlp4all run --host=0.0.0.0 --port=5000 | ||
python -m flask --debug --app nlp4all run $RELOAD_CMD --host=0.0.0.0 --port=5000 | ||
fi | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.