-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
Gianluca Zhang edited this page Jan 31, 2025
·
16 revisions
Ensure that you have Python 3.12 installed on your system by running the following command:
python3 --versionIf Python is not installed, or you need a different version, follow the installation instructions for your operating system from the official Python documentation: https://www.python.org/downloads/.
You'll need to clone the repository containing the project. Open your terminal and execute the following command:
git clone https://github.com/CApy-RPI/mvp- Use a virtual environment to manage dependencies:
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`- Use
requirements.txtfor production dependencies andrequirements_dev.txtfor development dependencies:
# Install production dependencies
pip install -r requirements.txt
# Install development dependencies
pip install -r requirements_dev.txt-
requirements.txt: Contains the dependencies required for the application to run in production. -
requirements_dev.txt: Contains additional dependencies required for development, such as testing and linting tools.
Example requirements.txt:
discord.py
pymongo
Example requirements_dev.txt:
pytest
flake8
black
mypy