Skip to content
Snippets Groups Projects
Commit 192b2a67 authored by Tor-Einar Skog's avatar Tor-Einar Skog
Browse files

doc: A bit more explanation of params in local_settings [vipsutv-305]

parent ce9b83b2
No related branches found
No related tags found
No related merge requests found
...@@ -58,7 +58,7 @@ LANGUAGE_CODE = 'en' ...@@ -58,7 +58,7 @@ LANGUAGE_CODE = 'en'
# List of available translations # List of available translations
AVAILABLE_LANGUAGES = ["en", "nb", "bg"] AVAILABLE_LANGUAGES = ["en", "nb", "bg"]
# Preferred language in VIPSLogic # Preferred language in VIPSLogic (The backend for VIPSWeb)
VIPSLOGIC_LANGUAGE_CODE = "en" VIPSLOGIC_LANGUAGE_CODE = "en"
# Local time zone for this installation. Choices can be found here: # Local time zone for this installation. Choices can be found here:
...@@ -68,12 +68,15 @@ VIPSLOGIC_LANGUAGE_CODE = "en" ...@@ -68,12 +68,15 @@ VIPSLOGIC_LANGUAGE_CODE = "en"
TIME_ZONE = 'Europe/Oslo' TIME_ZONE = 'Europe/Oslo'
# This can be used for testing purposes. Is valid locally for # This can be used for testing purposes. Is valid locally for
# this web page, not the VIPSLogic application. # this web page, not the VIPSLogic application. To simulate one year
# ago, set it to -12. Values > 0 make no sense, by the way.
SYSTEM_TIME_OFFSET_MONTHS = 0 SYSTEM_TIME_OFFSET_MONTHS = 0
# This is for testing purposes. It overrides SYSTEM_TIME_OFFSET_MONTHS # This is for testing purposes. It overrides SYSTEM_TIME_OFFSET_MONTHS
# It's valid locally for this web page, not the VIPSLogic application # It's valid locally for this web page, not the VIPSLogic application
# Ideally, they should be synchronized # Ideally, they should be synchronized.
# Valid values are None, "" or "%Y-%m-%d"
# Example: SYSTEM_TIME_EXACT = "2019-06-15"
SYSTEM_TIME_EXACT = None SYSTEM_TIME_EXACT = None
DATABASES = { DATABASES = {
...@@ -97,7 +100,7 @@ DATABASES = { ...@@ -97,7 +100,7 @@ DATABASES = {
# } # }
#} #}
# Site name - appears in header of all pages # Site name - appears in header of all pages. HTML is allowed
SITE_NAME = "Example site title" SITE_NAME = "Example site title"
# Insert Google Analytics Script? # Insert Google Analytics Script?
...@@ -115,9 +118,9 @@ GOOGLE_ANALYTICS_SCRIPT = """ ...@@ -115,9 +118,9 @@ GOOGLE_ANALYTICS_SCRIPT = """
</script> </script>
""" """
# The server name used for VIPSLogic # The server hostname used for VIPSLogic
VIPSLOGIC_SERVER_NAME = "vipslogic" VIPSLOGIC_SERVER_NAME = "vipslogic"
# VIPSLogic protocol # VIPSLogic protocol (http or https)
VIPSLOGIC_PROTOCOL = "http" VIPSLOGIC_PROTOCOL = "http"
# This organization's ID in VIPSLogic/CoreManager # This organization's ID in VIPSLogic/CoreManager
VIPS_ORGANIZATION_ID = 1 VIPS_ORGANIZATION_ID = 1
...@@ -125,7 +128,7 @@ VIPS_ORGANIZATION_ID = 1 ...@@ -125,7 +128,7 @@ VIPS_ORGANIZATION_ID = 1
INCLUDE_ORGANIZATION_IDS =[1,2,3,4,5] INCLUDE_ORGANIZATION_IDS =[1,2,3,4,5]
# Use this if you want to override and show icons for stations belonging to several organizations # Use this if you want to override and show icons for stations belonging to several organizations
#FORECAST_MAP_ORGANIZATION_IDS =[1,6] #FORECAST_MAP_ORGANIZATION_IDS =[1,6]
# The server name used for VIPSCoreManager # The server hostname used for VIPSCoreManager
VIPSCOREMANAGER_SERVER_NAME = "vipscoremanager" VIPSCOREMANAGER_SERVER_NAME = "vipscoremanager"
# Local path to self signed certificate of VIPSCoreManager. # Local path to self signed certificate of VIPSCoreManager.
# Set to none if using certificate signed by a CA # Set to none if using certificate signed by a CA
...@@ -138,7 +141,7 @@ VIPSLOGIC_DATE_FORMAT = "%Y-%m-%d" ...@@ -138,7 +141,7 @@ VIPSLOGIC_DATE_FORMAT = "%Y-%m-%d"
SITE_OWNER_NAME = {"en":"FooBar Inc","nb":"ACME industrier"} SITE_OWNER_NAME = {"en":"FooBar Inc","nb":"ACME industrier"}
SITE_OWNER_URL = "http://www.example.com/" SITE_OWNER_URL = "http://www.example.com/"
# OpenLayers Map initial configuration # OpenLayers Map (map on front page) initial configuration
# Longitude and latitude in WGS84 format # Longitude and latitude in WGS84 format
# See http://en.wikipedia.org/wiki/World_Geodetic_System#A_new_World_Geodetic_System:_WGS_84 # See http://en.wikipedia.org/wiki/World_Geodetic_System#A_new_World_Geodetic_System:_WGS_84
MAP_CENTER_LONGITUDE = 14.1 MAP_CENTER_LONGITUDE = 14.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment