⚙️ Installation
🐳 Docker Installation (Recommended)
To install and set up the Streamlit app using Docker, follow these steps:
Step 1
Pull the Docker image from GitHub Container Registry:
docker pull ghcr.io/bioshape-lab/cells:mainStep 2
Run the Docker image:
docker run --name streamlit -p 8501:8501 --rm ghcr.io/bioshape-lab/cells:mainThe Streamlit app should now be running locally. Open your web browser and visit http://localhost:8501 to access the app.
🐍 Local Installation
To install and set up the Streamlit app, follow these steps:
Step 1
Clone the repository:
gh repo clone bioshape-lab/cellsStep 2
Navigate to the project directory:
cd cells/cells/streamlitStep 3
Create a virtual environment (optional but recommended):
python -m venv envStep 4
Activate the virtual environment:
-
For Windows:
.\env\Scripts\activate -
For macOS and Linux:
source env/bin/activate
Step 5
Install project dependencies using Poetry:
poetry installThis command reads the pyproject.toml file, resolves dependencies, and installs them into the virtual environment.
Step 6
Run the Streamlit app:
streamlit run Hello.pyThe Streamlit app should now be running locally. Open your web browser and visit http://localhost:8501 to access the app.