diff --git a/Backends.md b/Backends.md index bb7ef03..d3fd261 100644 --- a/Backends.md +++ b/Backends.md @@ -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 /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