Services¶
Lime CRM platform is composed of several services. The following services are essential to know about when creating a customer solution on the platform:
Run services in dev mode¶
The Lime web server can be run in the command prompt rather than as a service. This is good when developing custom endpoints and custom limeobjects. The Lime web server can be started in debug mode, such that everytime you change your Python code, the server will be restarted. The web server will additionally only run the web server on one thread (useful if you wish to run a debugger in your code). Note that this feature only should be done when developing on your local machine! When you are done developing, remember to start your 'Lime CRM Webserver' service again.
-
Run services.msc and stop the
Lime CRM Webserver
service. -
Right click and run the
Limefu prompt
on the desktop as Administrator. Type:lime-webserver-debug
-
The loglevel can be configured in the config file for the webserver). They're also written to the server logs in
%LIME_HOME_PATH%\LIME Pro Server\Web Server\logs
. -
To stop the server, press Ctrl+C (sometimes multiple presses are needed).
With event handlers, which are run with in a separate service, the same principle applies.
-
Run services.msc and stop the
Lime CRM Event Handler
service. -
Right click and run the
Limefu Command Prompt
on the desktop as Administrator. Type:lime-event-handler
-
The logs can be found in
%LIME_HOME_PATH%\LIME Pro Server\Event Handler\logs
.
Note: Always make sure that the corresponding service is stopped when running lime-webserver or lime-event-handler in Limefu!