diff --git a/README.md b/README.md index 003e90e..d20b200 100644 --- a/README.md +++ b/README.md @@ -95,7 +95,9 @@ Plus tard, par commodité vous installerez VNC server ssh rpi4@ip.du.raspi git clone https://github.com/votre-repo/planarianscanner.git -cd planarianscanner/etc +git@github.com:deunix-educ/PlanarianScanner.git + +cd PlanarianScanner/etc chmod +x *.sh # compilation reductstore 15 mn sur le raspberry pi4 @@ -154,7 +156,7 @@ sudo supervisorctl start|stop|restart test_tube:* ## Organisation du dépôt ``` -planarianscanner/ +PlanarianScanner/ ├── cameras/ # App principale │ ├── models.py # ExportSession, ScanningStatus │ ├── tasks/ @@ -197,10 +199,10 @@ Développé pour le **Laboratoire de Biologie de l'Université Champollion**, Al ![platform](https://img.shields.io/badge/plateforme-Raspberry%20Pi%204-red) ![python](https://img.shields.io/badge/python-3.11%2B-blue) ![django](https://img.shields.io/badge/django-4.2%2B-green) -![license](https://img.shields.io/badge/licence-MIT-lightgrey) +![license](https://img.shields.io/badge/licence-GPL3-lightgrey) --- ## Licence -MIT — Projet opensource, développé pour le partage et la reproductibilité scientifique. +GPL-3.0 — Projet opensource, développé pour le partage et la reproductibilité scientifique. diff --git a/etc/scanner_service.conf b/etc/scanner_service.conf index 70fde26..cdae740 100644 --- a/etc/scanner_service.conf +++ b/etc/scanner_service.conf @@ -4,9 +4,9 @@ programs=webUI,planification,services [program:webUI] process_name=%(program_name)s priority=500 -directory=/home/rpi4/django-test-tube-scanner/test_tube_scanner +directory=/home/rpi4/PlanarianScanner/test_tube_scanner command= - /home/rpi4/django-test-tube-scanner/.venv/bin/daphne + /home/rpi4/PlanarianScanner/.venv/bin/daphne -b 0.0.0.0 -p 8000 home.asgi:application @@ -21,8 +21,8 @@ redirect_stderr=true [program:planification] process_name=%(program_name)s priority=800 -directory=/home/rpi4/django-test-tube-scanner/test_tube_scanner -command=/home/rpi4/django-test-tube-scanner/.venv/bin/celery -A home beat -l info +directory=/home/rpi4/PlanarianScanner/test_tube_scanner +command=/home/rpi4/PlanarianScanner/.venv/bin/celery -A home beat -l info user=rpi4 group=rpi4 stopasgroup=true @@ -34,8 +34,8 @@ redirect_stderr=true [program:services] process_name=%(program_name)s priority=900 -directory=/home/rpi4/django-test-tube-scanner/test_tube_scanner -command=/home/rpi4/django-test-tube-scanner/run-workers.sh +directory=/home/rpi4/PlanarianScanner/test_tube_scanner +command=/home/rpi4/PlanarianScanner/run-workers.sh user=rpi4 group=rpi4 stopasgroup=true diff --git a/run-workers.sh b/run-workers.sh index 1338cdf..388a705 100755 --- a/run-workers.sh +++ b/run-workers.sh @@ -1,6 +1,6 @@ #!/bin/bash -APP_DIR="/home/rpi4/django-test-tube-scanner" +APP_DIR="/home/rpi4/PlanarianScanner" cd "$APP_DIR/test_tube_scanner"