Before setting up the project, ensure that you have Git, Python (v3.7 or higher) and Pip are installed.
Begin by cloning the project repository. Open a terminal and run the following command, replacing <repo-url> with the actual URL of your Git repository:
git clone git@github.com:arkologystudio/COP29.git # Provided you are using SSH.Move into the project folder:
cd COP29The project’s dependencies are listed in requirements.txt.
Note: You may consider using a virtual environment to isolate dependencies, especially if working with multiple projects.
To create and activate a virtual environment:
python -m venv env
source env/bin/activate # For macOS/Linux
env\Scripts\activate # For WindowsAfter activating the virtual environment, run this to install dependencies:
pip install -r requirements.txtNote: If using VSCode, pressing CTRL + SHIFT + P, selecting "Python: Select Interpreter" > "Create Virtual Environment" and following the prompts can create the venv and install dependencies for you.
After dependencies are installed, launch the Streamlit dashboard using:
streamlit run dashboard.pyThis command should open a new browser tab with your Streamlit app. If it doesn’t open automatically, go to http://localhost:8501 in your browser.
- Updating Dependencies: To add new dependencies, use
pip install <package-name>and then updaterequirements.txtby running:pip freeze > requirements.txt