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

Customizations to the UI #79

Closed
tkakar opened this issue Dec 21, 2022 · 3 comments
Closed

Customizations to the UI #79

tkakar opened this issue Dec 21, 2022 · 3 comments

Comments

@tkakar
Copy link

tkakar commented Dec 21, 2022

Thank you for developing the cellxgene-gateway, it seems pretty convenient.

I'm following the docs to customize the UI by changing the styles/html files. When I run the run.sh.example I can see my changes. But dockerizing it using the provided docker file does not show changes, probably it uses the installed version of the cellxgene-gateway using RUN pip install cellxgene-gateway 'MarkupSafe<2.1'?.

I'm unable to make it work properly using the development guidelines.
Executing setup.py throws error.
Processing dependencies for cellxgene-gateway==0.3.10 Searching for certifi>=2017.4.17 Reading https://pypi.org/simple/certifi/ Download error on https://pypi.org/simple/certifi/: unknown url type: https -- Some packages may not be found! Couldn't find index page for 'certifi' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.org/simple/ Download error on https://pypi.org/simple/: unknown url type: https -- Some packages may not be found! No local packages or working download links found for certifi>=2017.4.17 error: Could not find suitable distribution for Requirement.parse('certifi>=2017.4.17')

Is anyone experiencing similar issue? How can I make docker container read the changes? Or run it in the develop mode without the run.sh.example file?
Appreciate your help.

@alokito
Copy link
Member

alokito commented Dec 21, 2022

Hi @tkakar ! You are correct that pip install cellxgene-gateway will use the published version of cellxgene-gateway from PyPI, not the one in the local folder. I would actually recommend customizing this version within the dockerfile rather than checking out the repo and customizing it here. You can see an example of this here: https://github.com/Novartis/cellxgene-gateway/tree/79_add_docker_example/examples/customized_docker_image hope it helps!

@tkakar
Copy link
Author

tkakar commented Dec 22, 2022

@alokito Thank you, this worked perfectly!

@alokito
Copy link
Member

alokito commented Jul 9, 2023

This is merged into master, please open a new ticket if there are any remaining issues.

@alokito alokito closed this as completed Jul 9, 2023
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

No branches or pull requests

2 participants