Skip to content

Lime CRM Web Server

Lime Web Server is a Python server responsible of:

  • serving endpoints
  • serving static files
  • setting up https/tls correctly

In a vanilla Lime CRM Server installation, endpoints for the webclient and REST API are registered on the server. You can add your own custom endpoints to the web server via custom endpoints.

Configuration

The Web Server can be configured as:

debug: # Turn on to get profiling of performance
    profile: False

globals:
    secret_key: # Secret key here
    use_ssl: True
    https_port: 5442
    http_port: 5442
    max_content_length: 55
    database_driver: SQL Server Native Client 11.0
    lime_version: Unversioned
    ldc_hostname: localhost

cheroot: # Cheroot is used as the web server for on-premise installations
    numthreads: 30
    max: 30
    timeout: 2

features:
    webclient_login: True
    hosting_webclient_login: False
    reset_password: False
    execution_context: False

logging:
    level: warning
    json: False
    accesslog: True
    accesslogname: default_accesslog
    add_timed_log_rotation: False

mail: # This is settings to use "restore password feature"
    sender_name: The Lime CRM team
    sender_email: [email protected]
    api_url:  # Lime Marketing URL
    api_key:  # Lime Marketing API Key
    user_email: # Lime Markting user

ssl:
    cert: default_certfile
    privkey: default_privkey

webserver:
    list_applications: False

webserver.list_applications

Enables the "select database" feature in the login screen. Set this to true for on-premise installations with more than one application.