Feat : installation script & readme update

This commit is contained in:
martin legrand
2025-03-13 15:52:37 +01:00
parent 0315d8e67f
commit b7eaee6b34
6 changed files with 134 additions and 2 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
echo "Starting installation for Linux..."
# Update package list
sudo apt-get update
# Install Python dependencies from requirements.txt
pip3 install -r requirements.txt
# Install Selenium for chromedriver
pip3 install selenium
# Install portaudio for pyAudio
sudo apt-get install -y portaudio19-dev python3-dev
echo "Installation complete for Linux!"
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
echo "Starting installation for macOS..."
# Install Python dependencies from requirements.txt
pip3 install -r requirements.txt
# Install chromedriver using Homebrew
brew install --cask chromedriver
# Install portaudio for pyAudio using Homebrew
brew install portaudio
# Install Selenium
pip3 install selenium
echo "Installation complete for macOS!"
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
echo "Starting installation for Windows..."
# Install Python dependencies from requirements.txt
pip3 install -r requirements.txt
# Install Selenium
pip3 install selenium
echo "Note: pyAudio installation may require additional steps on Windows."
echo "Please install portaudio manually (e.g., via vcpkg or prebuilt binaries) and then run: pip3 install pyaudio"
echo "Also, download and install chromedriver manually from: https://sites.google.com/chromium.org/driver/getting-started"
echo "Place chromedriver in a directory included in your PATH."
echo "Installation partially complete for Windows. Follow manual steps above."