From 500cd8f7030a133c44be321db73ae50c1b081205 Mon Sep 17 00:00:00 2001 From: Matteo Cargnelutti Date: Sun, 12 Nov 2017 15:19:26 +0100 Subject: [PATCH] Update : Dev Doc, about the PC_MODE --- docs/DEV.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/DEV.md b/docs/DEV.md index 96b5910..b341b3b 100644 --- a/docs/DEV.md +++ b/docs/DEV.md @@ -114,5 +114,13 @@ Key | Value * Theses parameters are defined using the config assistant : `python jeanpierre.py --do config`. +# PC Mode +As it is not possible to import picamera or RPi.GPIO Python libraries on PC, you'll have to define the following **environment variable** to let Jean-Pierre know it shouldn't import them. + +`PC_MODE=1` + +This is usefull for working on the web interface for example, where theses libs are not necessary. + + # Contributing I would be glad that **Jean-Pierre** continues to improve and evolve : don't hesitate to contribute :) !