Running as a Service (Windows)
Last updated
Last updated
Make sure Python has been installed ‘for all users’.
If not done system users running this service will not be able to see it.
Python needs to be in the system PATH
Edit the ‘run.bat’ so to contain an absolute path to the ‘waitress_server.py’ file and your virtual environment.
Run a command line window as an administrator.
Navigate to the Rest Enrichment Service subfolder in your InsightMaker distribution.
Execute: nssm install “InsightMaker Rest Enrichment Service”
.
Set the path to run.bat
Set the start up directory to the path of the Rest Enrichment Service.
Optional - Configure which user the service runs as (see point 1).
Run the service and check the log file.
The first time the app service runs it will download a series of modules and models. If this instance does not have internet access, please reach out to your contact at Aiimi.