auto touch
This commit is contained in:
parent
c2c8494874
commit
b4a26b4bf2
@ -56,8 +56,8 @@ git clone https://github.com/jr-k/obscreen.git && cd obscreen
|
|||||||
|
|
||||||
# Install application dependencies
|
# Install application dependencies
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source ./venv/bin/python
|
source ./venv/bin/activate
|
||||||
pip3 install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
# Add some sample data
|
# Add some sample data
|
||||||
cp data/db/slideshow.json.dist data/db/slideshow.json
|
cp data/db/slideshow.json.dist data/db/slideshow.json
|
||||||
|
|||||||
@ -69,8 +69,8 @@ git clone https://github.com/jr-k/obscreen.git && cd obscreen
|
|||||||
|
|
||||||
# Install application dependencies
|
# Install application dependencies
|
||||||
python3 -m venv venv
|
python3 -m venv venv
|
||||||
source ./venv/bin/python
|
source ./venv/bin/activate
|
||||||
pip3 install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
|
||||||
# Add some sample data
|
# Add some sample data
|
||||||
cp data/db/slideshow.json.dist data/db/slideshow.json
|
cp data/db/slideshow.json.dist data/db/slideshow.json
|
||||||
|
|||||||
@ -110,12 +110,15 @@ class ConfigManager:
|
|||||||
player_autostart_path = self.DEFAULT_PLAYER_AUTOSTART_PATH if in_docker else path
|
player_autostart_path = self.DEFAULT_PLAYER_AUTOSTART_PATH if in_docker else path
|
||||||
|
|
||||||
if os.path.isdir(path) or not os.path.exists(path):
|
if os.path.isdir(path) or not os.path.exists(path):
|
||||||
logging.error(
|
if not in_docker:
|
||||||
"Player autostart file {} doesn't exist on your server'\n".format(
|
open(player_autostart_path, 'a').close()
|
||||||
player_autostart_path
|
else:
|
||||||
|
logging.error(
|
||||||
|
"Player autostart file {} doesn't exist on your server'\n".format(
|
||||||
|
player_autostart_path
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
sys.exit(1)
|
||||||
sys.exit(1)
|
|
||||||
else:
|
else:
|
||||||
logging.info("Overriding player autostart file {}".format(player_autostart_path))
|
logging.info("Overriding player autostart file {}".format(player_autostart_path))
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user