readme
This commit is contained in:
@@ -97,33 +97,30 @@ ssh rpi4@ip.du.raspi
|
|||||||
git clone https://github.com/votre-repo/planarianscanner.git
|
git clone https://github.com/votre-repo/planarianscanner.git
|
||||||
git@github.com:deunix-educ/PlanarianScanner.git
|
git@github.com:deunix-educ/PlanarianScanner.git
|
||||||
|
|
||||||
cd PlanarianScanner/etc
|
# modifier les variables d'environnement si besoin
|
||||||
chmod +x *.sh
|
|
||||||
|
|
||||||
# compilation reductstore 15 mn sur le raspberry pi4
|
|
||||||
./cargo-reductstore-install.sh
|
|
||||||
|
|
||||||
# installation des librairies systèmes
|
|
||||||
./install-sys.sh
|
|
||||||
|
|
||||||
> samba configuration à venir.
|
|
||||||
|
|
||||||
# Configuration des applications Django
|
|
||||||
cd ../test-tube-scanner
|
|
||||||
|
|
||||||
cp .env.example .env
|
cp .env.example .env
|
||||||
# Éditer .env : SECRET_KEY, REDIS_URL, REDUCTSTORE_URL, ...
|
# Éditer .env : SECRET_KEY, REDIS_URL, REDUCTSTORE_URL, ...
|
||||||
|
|
||||||
./manage.py migrate
|
cd PlanarianScanner/etc
|
||||||
Si besoin:
|
chmod +x *.sh
|
||||||
./manage.py makemigrations
|
|
||||||
./manage.py migrate
|
|
||||||
|
|
||||||
# créer superadmin et tables
|
# installation des librairies systèmes
|
||||||
./manage.py init_data
|
./1-install-sys.sh
|
||||||
./manage.py loaddata ../etc/scanner_configuration.json
|
|
||||||
./manage.py loaddata ../etc/well.json
|
# compilation reductstore 15 mn sur le raspberry pi4
|
||||||
./manage.py loaddata ../etc/multiwell.json
|
./2-cargo-reductstore-install.sh
|
||||||
|
|
||||||
|
# installation samba cliennt
|
||||||
|
./3-install-samba-client.sh
|
||||||
|
|
||||||
|
# installation de mariadb
|
||||||
|
./4-install_mariadb.sh
|
||||||
|
|
||||||
|
# installation de mariadb
|
||||||
|
./5-install_adminer.sh
|
||||||
|
|
||||||
|
# Configuration des applications Django
|
||||||
|
./6-install_django_app.sh
|
||||||
|
|
||||||
# tester
|
# tester
|
||||||
sudo supervisorctl stop test_tube:*
|
sudo supervisorctl stop test_tube:*
|
||||||
|
|||||||
Reference in New Issue
Block a user