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

uwsgi integration #11

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

uwsgi integration #11

wants to merge 6 commits into from

Conversation

bgruening
Copy link
Member

This branch is used in the HiCBrowser Docker image, as we are using nginx as proxy server and uwsgi as application server inside of the image.

Unfortunately, I was not able to get uwsgi and the ./runBrowserpy script working simultaneously. The app has some wired behaviors so I needed to include the main call in the views.py script.

I hope someone is more a flask expert and can help resolving this. Until than I will leave this PR open and update this branch manually with the master branch if needed.

@bgruening bgruening changed the title WIP: uwsgi integration uwsgi integration Sep 7, 2017
@bgruening
Copy link
Member Author

@fidelram this will make HiCB working under uwsgi, which is used in the Docker container and in Galaxy.
Can you take a look if this breaks any of your setups, use-cases?

@fidelram
Copy link
Contributor

fidelram commented Sep 8, 2017

With respect to views.py I don't see much problems but I have not tested them (@bgruening does it run for you?).

For the other edits I have to warn you that some of the code modified, like App.js, is generated by Node.js

Thus, ideally, such things should be removed at the source code and the the new js code should be recompiled. However, I only have a superficial understanding of how this works and the main developer is not longer available. Do you know any Node.js guru?

@bgruening
Copy link
Member Author

I see. Yes it is working for us and it will be part of the next upcoming Galaxy release.
Lets keep this open until I have more time to look at it in more different use-cases.

One thing this PR is also doing is that you can now run multiple visualizations under different sub-dirs. Like foo.eu/human and foo.eu/mouse. This will be useful for the Hein group.

@fidelram
Copy link
Contributor

fidelram commented Sep 8, 2017

Different subdirs will be quite useful for us as well. Something that I think is not working for me in the current version is the search by gene name. Is it working for you?

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