Updated HTTP backend wiki to include info about

Fabio Manganiello 2018-12-30 18:39:48 +01:00
parent 642eb7030c
commit 6c0e65ccfe
1 changed files with 12 additions and 3 deletions

@ -106,6 +106,14 @@ Change your `backend.http` configuration to also include the widgets that you wa
backend.http:
port: 8008
websocket_port: 8009
# resource_dirs allows you to expose the content of some absolute directories on your
# filesystem as static elements through the webserver under the <BASE_URL>/resources URL.
# In the example below, the files under ~/Dropbox/Photos/carousel will be accessible through
# http://localhost:8008/resources/carousel
resource_dirs:
carousel: ~/Dropbox/Photos/carousel
dashboard: # Your dashboard configuration
background_image: https://some/background.png # Background image
widgets: # Widgets configuration
@ -117,9 +125,10 @@ backend.http:
columns: 3 # 3 columns on the first row
image-carousel: # Photo carousel
columns: 6 # 6 columns on the second row
images_path: /static/resources/Dropbox/Photos/carousel # Path to scan for pictures, relative to
# the backend/http path
refresh_seconds: 15 # Time between two pictures
images_path: ~/Dropbox/Photos/carousel # Path to scan for carousel pictures.
# It must be a subdirectory of at least
# one item of resource_dirs.
refresh_seconds: 15 # Time between two pictures
rss-news: # News from your RSS feeds
# Requires backend.http.poll to be enabled with some
# RSS sources, and configured to write items to sqlite db