-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving install #150
Improving install #150
Conversation
…-STRESS. Also adding a .env file that was missing to build the webserver.
…a sectiuon in the setup.sh bash script that allows the user to install the DE-STRESS webserver in a development or a production environment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double check the .env file and remove it if it was a mistake. After that, happy to merge.
.env
Outdated
POSTGRES_PASSWORD=testpassword | ||
|
||
GUNICORN_WORKERS=2 | ||
APP_PORT=8181 | ||
|
||
EVOEF2_BINARY_PATH=/dependencies_for_de-stress/EvoEF2/EvoEF2 | ||
DFIRE2_FOLDER_PATH=/dependencies_for_de-stress/DFIRE2-pair/ | ||
ROSETTA_BINARY_PATH=/dependencies_for_de-stress/rosetta/source/bin/score_jd2.linuxgccrelease | ||
AGGRESCAN3D_SCRIPT_PATH=/dependencies_for_de-stress/Aggrescan3D/aggrescan3D_cli_run.py | ||
|
||
RQ_DASHBOARD_REDIS_URL=redis://redis:6379 | ||
RQ_DASHBOARD_PORT=8182 | ||
|
||
MAX_RUN_TIME=30 | ||
HEADLESS_DESTRESS_WORKERS=3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.env
should not be in the code base, this one is for testing I think and there is already a file called .env-testing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This has all been fixed now.
def ascii_splash(id): | ||
splashDict = {"DESTRESS": | ||
""" | ||
██████╗ ███████╗ ███████╗████████╗██████╗ ███████╗███████╗███████╗ | ||
██╔══██╗██╔════╝ ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██╔════╝██╔════╝ | ||
██║ ██║█████╗█████╗███████╗ ██║ ██████╔╝█████╗ ███████╗███████╗ | ||
██║ ██║██╔══╝╚════╝╚════██║ ██║ ██╔══██╗██╔══╝ ╚════██║╚════██║ | ||
██████╔╝███████╗ ███████║ ██║ ██║ ██║███████╗███████║███████║ | ||
╚═════╝ ╚══════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝ | ||
""", | ||
|
||
"ERROR": | ||
""" | ||
▓█████ ██▀███ ██▀███ ▒█████ ██▀███ | ||
▓█ ▀ ▓██ ▒ ██▒▓██ ▒ ██▒▒██▒ ██▒▓██ ▒ ██▒ | ||
▒███ ▓██ ░▄█ ▒▓██ ░▄█ ▒▒██░ ██▒▓██ ░▄█ ▒ | ||
▒▓█ ▄ ▒██▀▀█▄ ▒██▀▀█▄ ▒██ ██░▒██▀▀█▄ | ||
░▒████▒░██▓ ▒██▒░██▓ ▒██▒░ ████▓▒░░██▓ ▒██▒ | ||
░░ ▒░ ░░ ▒▓ ░▒▓░░ ▒▓ ░▒▓░░ ▒░▒░▒░ ░ ▒▓ ░▒▓░ | ||
░ ░ ░ ░▒ ░ ▒░ ░▒ ░ ▒░ ░ ▒ ▒░ ░▒ ░ ▒░ | ||
░ ░░ ░ ░░ ░ ░ ░ ░ ▒ ░░ ░ | ||
░ ░ ░ ░ ░ ░ ░ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I love this 😃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was actually @ESPhoenix 's idea.
…y the testing .env files and changing the settings before the installation..env
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, merging.
Made DE-STRESS a lot easier to install locally and also to run.