Streamlit Deployment Guide (wiki)

Clace is a new project I am building which make it easy to deploy multiple Streamlit apps and share across a team. See Clace : Streamlit app deployment platform for details.

Clace allows you to deploy straight from your Git repo, add OAuth auth to apps without requiring app code change, perform updates with a blue-green (staged) deployment and do atomic (all or none) updates across multiple apps. Each app runs in a container, for isolation. Preview envs are also supported. Code changes and config changes (changes in container env) are staged. This allows you to verify any app change in staging before making it live. No more scrambling to revert a change.

I am trying the deploy a simple Streamlit (with just header, nothing else).
Here is the command:

streamlit run streamlit_demo/main.py \
    --server.enableCORS=false \
    --server.enableXsrfProtection=false \
    --server.enableWebsocketCompression=false \
    --server.port 8585 \
    --client.toolbarMode viewer \
    --server.headless true \
    --browser.gatherUsageStats=false \
    --browser.serverPort 8585 \
    --browser.serverAddress livedemo.cybercore.co.jp 

When I access it through local network, it works fine, but in the the public address it just hangs and loop forever:


I tried with Nginx and Docker but the problem stills the same, so I guess the problem is from Streamlit or the network settup, not with Docker or Nginx.

is there any support for deploying my streamlit app in “namecheap” hosting?

PyCafe is a WebAssembly based platform (based on Pyodide) that allows you to deploy streamlit apps very easily:

It’s free to use since no server is running. PyCafe is especially useful in sharing apps and letting people modify them, but it can also show just the app without the editor.

I’m happy to add a Wasm section in the Wiki.