1.2 KiB
1.2 KiB
🦋 SilkMoth Frontend
This is the frontend for the SilkMoth project, built with the Streamlit framework to provide an interactive web interface.
⚙️ Requirements
- Python installed on your system
venvmodule for virtual environments- Project data available in the
experiment/data/folder
🚀 Setup
Two setup scripts are provided—one for Windows and another for Linux/macOS. These scripts will:
- Create a virtual environment
- Install all necessary Python dependencies
- Launch the frontend application
🪟 Windows
Open a terminal in the frontend directory and run:
.\setup_win.bat
🐧 Linux / 🍎 macOS
Open a terminal in the frontend directory and run:
./setup_unix.sh
▶️ Usage
Once the setup is complete, follow these steps to run the frontend manually:
1. Activate the virtual environment
🪟 Windows
.\.venv\Scripts\Activate.ps1
🐧 Linux / 🍎 macOS
Activate the virtual environment:
source .venv/bin/activate
2. Run the Streamlit app
streamlit run app.py