conda-incubator / conda-store

Data science environments, for collaboration. ✨
https://conda.store
BSD 3-Clause "New" or "Revised" License
143 stars 46 forks source link

[BUG] - Change defaults so that standalone runs with the UI without the config #646

Open nkaretnikov opened 10 months ago

nkaretnikov commented 10 months ago

Describe the bug

While investigating https://github.com/conda-incubator/conda-store-ui/issues/322, I discovered that you cannot just use --standalone when you're also running the UI, you also need to pass the config.

This is separate from the port issue, since I did change the port locally.

I had to pass the default standalone config file, while commenting out some options. See here https://github.com/conda-incubator/conda-store-ui/issues/322#issuecomment-1785488710.

This is likely happening because the config sets this c.CondaStoreServer.url_prefix = "/conda-store", but I still need to investigate.

Expected behavior

Being able to use the UI while just running with --standalone.

server 0760fa2b386bc207936df89f52b4df83f61e8af8 UI d52ae0734c194bcef309d4307aae16c4a9006d66

The link to the comment above has repro instructions.

How to Reproduce the problem?

See above.

Output

No response

Versions and dependencies used.

No response

Anything else?

No response

nkaretnikov commented 10 months ago

Discussed this offline. A better solution would be to do this on the UI side. The /conda-store prefix exists mostly for running within Nebari.