webiopi configuration for different projects
Posted: Wed Mar 12, 2014 4:13 pm
According to tutorial
http://code.google.com/p/webiopi/wiki/Tutorial_Basis
So let say I have 3 different projects each one has it's own python and html files.
Under configuration /etc/webiopi/config
[SCRIPTS]
myproject1=/home/pi/myproject1/python/script.py
#myproject2=/home/pi/myproject2/python/script.py
#myproject3=/home/pi/myproject3/python/script.py
[HTTP]
doc-root=/home/pi/myproject1/html
#doc-root=/home/pi/myproject2/html
#doc-root=/home/pi/myproject3/html
is this the right way to hand multiple projects, commenting and uncommenting to load in whichever script and http doc location for html file?
http://code.google.com/p/webiopi/wiki/Tutorial_Basis
So let say I have 3 different projects each one has it's own python and html files.
Under configuration /etc/webiopi/config
[SCRIPTS]
myproject1=/home/pi/myproject1/python/script.py
#myproject2=/home/pi/myproject2/python/script.py
#myproject3=/home/pi/myproject3/python/script.py
[HTTP]
doc-root=/home/pi/myproject1/html
#doc-root=/home/pi/myproject2/html
#doc-root=/home/pi/myproject3/html
is this the right way to hand multiple projects, commenting and uncommenting to load in whichever script and http doc location for html file?