Basic Configuration
Scoold is configured primarily through the configuration file scoold-application.conf.
All configuration can be overridden with system properties or environment variables.
Scoold requires a persistent and direct connection to a Para backend.
By default, Scoold will load its configuration from a file named scoold-application.conf but that file can be
renamed to app.conf, for example, and then loaded with the system property -Dconfig.file=app.conf.
The configuration can also be loaded from a ↗ JSON file or a URL.
Copy this Scoold basic configuration to your scoold-application.conf (edit the values if needed):
# the name of the applicationscoold.app_name = "Scoold"# the port for Scooldscoold.port = 8000# environment - "production" or "development"scoold.env = "production"# the public-facing URL where Scoold is hostedscoold.host_url = "http://localhost:8000"# the URL of Para - can also be "https://paraio.com"scoold.para_endpoint = "http://localhost:8080"# access key for your Para appscoold.para_access_key = "app:scoold"# secret key for your Para appscoold.para_secret_key = "{secret}"# the email or identifier of the admin user - check Para user objectscoold.admins = "admin@domain.com"# Enable/disable password authenticationscoold.password_auth_enabled = trueStartup
Section titled “Startup”On startup, Scoold tries to connect to Para every 10 seconds, 10 times in total. (default). If the connection is unsuccessful, the settings will not be persisted.
scoold.connection_retries_max = 10scoold.connection_retry_interval_sec = 10For an infinite number of attempts to connect to Para, set scoold.connection_retries_max to -1.
SMTP configuration
Section titled “SMTP configuration”It’s recommended to configure SMTP as soon as possible in order for the transactional emails to work properly.
spring.mail.host = smtp.sendgrid.netspring.mail.port = 587spring.mail.username = apikeyspring.mail.password = your-sendgrid-api-keyspring.mail.properties.mail.smtp.auth = truespring.mail.properties.mail.smtp.starttls.enable = trueBranding
Section titled “Branding”scoold.show_branding = true# Custom logo URLscoold.logo_url = "https://cdn.mycompany.com/logo.png"# Custom CSS (URL to a stylesheet)scoold.stylesheet_url = "https://cdn.mycompany.com/scoold-custom.css"# Welcome message on login pagescoold.welcome_message = "Welcome to MyCompany's knowledge base"For details on all customization options, visit the page on Customization.