Fix install instructions

This commit is contained in:
ABelliqueux 2024-06-07 17:40:34 +02:00
parent 469a7a6fc3
commit 5006fbcddd
1 changed files with 11 additions and 8 deletions

View File

@ -19,15 +19,18 @@ Issues reports and commits are welcome !
## Setup ## Setup
0. (Windows users only) Setup WSL2 on your (P)OS and install a Debian based distro (Debian, Mint, Ubuntu...) 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` 1. Install dependencides : `sudo apt install --no-install-recommends --no-install-suggests git ffmpeg gphoto2 python3-tk python3-pip python3-venv`
(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` - (Optional) If you plan on using a RPI camera : `sudo apt install --no-install-recommends --no-install-suggests python3-libcamera python3-picamera2`
2. Clone the repo : `git clone https://` - (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` 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.) 4. Create Python venv : `python -m venv ./`
5. Install dependencies : `pip install -r requirements.txt` - (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.
6. Plug your DSLR/setup your raspicam 5. Enter the newly created virtual environment with `source bin/activate`
7. Set Execution bit on script : `chmod +x stopi.sh` 6. Install dependencies : `pip install -r requirements.txt`
8. Launch script : `./stopi.sh` 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 ## Todo / Fix me