Feat : installation script & readme update
This commit is contained in:
@@ -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!"
|
||||
@@ -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!"
|
||||
@@ -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."
|
||||
Reference in New Issue
Block a user