Menu

Build and Deploy a “Hello World” Web App with Streamlit Community Cloud + GitHub
📰

Build and Deploy a “Hello World” Web App with Streamlit Community Cloud + GitHub

DEV Community: github·PDF Python Hub·9 days ago
#onljK75z
#devtogithub#technology#devto#dev#streamlit
Reading 0:00
15s threshold

Build and Deploy a “Hello World” Web App with Streamlit Community Cloud + GitHub

In this mini-guide, you’ll build a simple Python web app, upload your code to GitHub, and deploy it for free using Streamlit Community Cloud. By the end, you’ll have a live web app with a shareable URL.

Tools you’ll use

Streamlit: Builds interactive web apps using Python.

GitHub: Stores and manages your application code in a repository.

Streamlit Community Cloud: Deploys your GitHub repository as a live web app.

1. Create a GitHub Repository

Go to GitHub and sign in or create an account.

Click the + icon in the top-right corner and select New repository .

Name your repository hello-streamlit .

Set the repository visibility to Public .

Click Create repository .

2. Add Your App Code (app.py)

On your repository page, click creating a new file (in the Quick setup section).

Name the file app.py .

Paste the following Python code:

import streamlit as st st . title ( " Hello, World!…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.