Skip to content
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

Merged
merged 25 commits into from
Jun 11, 2024
Merged

Improving install #150

merged 25 commits into from
Jun 11, 2024

Conversation

MichaelJamesStam
Copy link
Collaborator

Made DE-STRESS a lot easier to install locally and also to run.

Copy link
Contributor

@ChrisWellsWood ChrisWellsWood left a 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
Comment on lines 1 to 15
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
Copy link
Contributor

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.

Copy link
Collaborator Author

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.

Comment on lines +35 to +57
def ascii_splash(id):
splashDict = {"DESTRESS":
"""
██████╗ ███████╗ ███████╗████████╗██████╗ ███████╗███████╗███████╗
██╔══██╗██╔════╝ ██╔════╝╚══██╔══╝██╔══██╗██╔════╝██╔════╝██╔════╝
██║ ██║█████╗█████╗███████╗ ██║ ██████╔╝█████╗ ███████╗███████╗
██║ ██║██╔══╝╚════╝╚════██║ ██║ ██╔══██╗██╔══╝ ╚════██║╚════██║
██████╔╝███████╗ ███████║ ██║ ██║ ██║███████╗███████║███████║
╚═════╝ ╚══════╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚══════╝╚══════╝╚══════╝
""",

"ERROR":
"""
▓█████ ██▀███ ██▀███ ▒█████ ██▀███
▓█ ▀ ▓██ ▒ ██▒▓██ ▒ ██▒▒██▒ ██▒▓██ ▒ ██▒
▒███ ▓██ ░▄█ ▒▓██ ░▄█ ▒▒██░ ██▒▓██ ░▄█ ▒
▒▓█ ▄ ▒██▀▀█▄ ▒██▀▀█▄ ▒██ ██░▒██▀▀█▄
░▒████▒░██▓ ▒██▒░██▓ ▒██▒░ ████▓▒░░██▓ ▒██▒
░░ ▒░ ░░ ▒▓ ░▒▓░░ ▒▓ ░▒▓░░ ▒░▒░▒░ ░ ▒▓ ░▒▓░
░ ░ ░ ░▒ ░ ▒░ ░▒ ░ ▒░ ░ ▒ ▒░ ░▒ ░ ▒░
░ ░░ ░ ░░ ░ ░ ░ ░ ▒ ░░ ░
░ ░ ░ ░ ░ ░ ░

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I love this 😃

Copy link
Collaborator Author

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
Copy link
Contributor

@ChrisWellsWood ChrisWellsWood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, merging.

@ChrisWellsWood ChrisWellsWood merged commit ddfc26d into master Jun 11, 2024
1 check passed
@ChrisWellsWood ChrisWellsWood deleted the improving_install branch June 11, 2024 11:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants