This project is a ready-made website template built with Streamlit.
You can use it as a base and create a new website for a different project, even if you have never coded before.
- Lets users upload files
- Stores data in a local database
- Shows charts and summaries
- Exports results
You can reuse this structure and replace the content with your own project topic.
You only need these things:
- A GitHub account
- A computer with internet
- Python installed (version 3.10 or newer is recommended)
- A text editor (VS Code is easiest)
- Copy this project
- Change the app title and text
- Replace the data fields with your project fields
- Test locally
- Publish online
- Open this repository on GitHub
- Click Use this template (or create a new repository and upload these files)
- Give your new repository a name
Now you have your own copy.
If you know Git, clone it.
If you do not know Git:
- Click Code on GitHub
- Click Download ZIP
- Unzip it on your computer
- Open VS Code
- Choose File > Open Folder
- Select your project folder
Open the terminal in VS Code and run:
pip install -r requirements.txtRun:
streamlit run qc_unified_app.pyA browser page will open. This is your website running on your computer.
In file qc_unified_app.py, change:
- Main title
- Section names
- Help text
This is the easiest first change and helps you learn the file layout.
This app currently uses QC terms like analyte, HQC, and LQC.
For your project, replace these with your own terms.
Example:
- analyte -> product
- qc_level -> category
- concentration -> score
Update in these areas:
- Data lists near the top of the file
- Table schema (database section)
- Upload/import logic
- Charts and report labels
You can keep these parts and just rename fields:
- Upload flow
- Database saving
- Chart layout
- Report table
- CSV export
This saves a lot of time.
After edits, run:
python3 -m py_compile qc_unified_app.py
streamlit run qc_unified_app.pyIf the page opens and works, continue.
Use Streamlit Community Cloud.
- Push your code to GitHub
- Go to share.streamlit.io
- Sign in with GitHub
- Click New app
- Choose your repository
- Set main file to qc_unified_app.py
- Click Deploy
Your website is now online with a public link.
Use this checklist:
- Rename app title and sections
- Replace data fields with your project fields
- Update upload file format rules
- Update chart labels and report columns
- Test locally
- Deploy to Streamlit Cloud
- Change one thing at a time
- Test after every change
- Keep a backup copy before big edits
- If something breaks, undo only your last small change
If you get stuck, open an issue in the repository and include:
- What you changed
- The error message
- A screenshot
That makes troubleshooting much faster.
See LICENSE.