From 5006fbcdddcc12c18635edfbbbc27aedcec70660 Mon Sep 17 00:00:00 2001 From: ABelliqueux Date: Fri, 7 Jun 2024 17:40:34 +0200 Subject: [PATCH] Fix install instructions --- readme.md | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index 5237dbf..21a4ff0 100644 --- a/readme.md +++ b/readme.md @@ -19,15 +19,18 @@ Issues reports and commits are welcome ! ## Setup 0. (Windows users only) Setup WSL2 on your (P)OS and install a Debian based distro (Debian, Mint, Ubuntu...) - 1. Install dependencides : `sudo apt install --no-install-recommends --no-install-suggests git ffmpeg gphoto2 python3-libcamera python3-picamera2 python3-tk` - (Optional) If you want a minimal graphical environment : `sudo apt install --no-install-recommends --no-install-suggests openbox xserver-xorg xinit pcmanfm gmrun lxterminal hsetroot unclutter` - 2. Clone the repo : `git clone https://` + 1. Install dependencides : `sudo apt install --no-install-recommends --no-install-suggests git ffmpeg gphoto2 python3-tk python3-pip python3-venv` + - (Optional) If you plan on using a RPI camera : `sudo apt install --no-install-recommends --no-install-suggests python3-libcamera python3-picamera2` + - (Optional) If you want a minimal graphical environment : `sudo apt install --no-install-recommends --no-install-suggests openbox xserver-xorg xinit pcmanfm gmrun lxterminal hsetroot unclutter` + 2. Clone the repo : `git clone https://git.arthus.net/arthus/stopi.git` 3. Change to directory : `cd stopimotion` - 4. Create Python venv : `python -m venv ./` (If planning to use a raspicam, you need to also pass the `--system-site-packages` parameter to be able to import the GPIO module.) - 5. Install dependencies : `pip install -r requirements.txt` - 6. Plug your DSLR/setup your raspicam - 7. Set Execution bit on script : `chmod +x stopi.sh` - 8. Launch script : `./stopi.sh` + 4. Create Python venv : `python -m venv ./` + - (Optional) If planning to use a raspicam, you need to also pass the `--system-site-packages` parameter to be able to import the GPIO module. + 5. Enter the newly created virtual environment with `source bin/activate` + 6. Install dependencies : `pip install -r requirements.txt` + 7. Plug your DSLR/setup your raspicam + 8. Set Execution bit on script : `chmod +x stopi.sh` + 9. Launch script : `./stopi.sh` ## Todo / Fix me