-m venv env && source ./env/bin/activate python3
How to create a Streamlit app in VS Code
Streamlit
Data Science
dashboard
Streamlit is a pure python framework which allows you to create simple and easy dashboards for your team.
How to create a streamlit app in VS Code on Youtube.
Getting started
Here we are setting up the environment for development.
Create an envionment for streamlit
Run this is the terminal to create a new environment.
Installing Streamlit
Run the following in the terminal:
pip install streamlit
Create a file called app.py
Copy the code and call the file app.py
import streamlit as st
"# Header 1") st.write(
Run the app
Run the app by executing the following in the terminal:
streamlit run app.py
What about deployment?
You can use a paid service such as Streamlit cloud, but I want to show you how to use github and AWS EC2 to deploy the app on the web.
In the next tutorial we will dive into deployment.. Check it out! Ciao!