Running on Windows
Running on Windows is as simple as double clicking the KarmaloopAIMLBotServer.exe file or running it via command line. With most versions of Windows, you would have the .NET Framework 4.5 preinstalled, but in case it isn’t, you must install it to make it work.
To run on Windows (any edition)
- Goto the folder you have extracted the binaries to
- Double click the KarmaloopAIMLBotServer.exe application (make sure you are not accidentally selecting the KarmaloopAIMLBotServer.exe.config file which is the configuration file for your server)
- Check the port numbers and API endpoint URL. You may need to run the netsh command to ensure the API can start listening on the designated port. Below is an example.
netsh http add urlacl url=http://*:8880/ user=Everyone listen=yes
Now you can run the below command from the command line or you can start by double clicking the KarmaloopAIMLBotServer.exe
C:\Your\Extract\Directory\> KarmaloopAIMLBotServer.exe
See the output section to verify if you are seeing something similar.
Running on Linux / macOS
You will need to have the Mono Runtime installed. I have not tested it with .NET Core yet, but would be happy to hear from someone who has tried to do that.
Ubuntu
On Ubuntu, it’s as easy as it is to run on Windows, possibly easier! Just get the mono-runtime package installed and you should be good to go.
- Goto the folder you have extracted the binaries to
- Right-click and say Open in Terminal
- Verify you have mono installed by typing the command “mono –version”
- If mono-runtime is not installed, you need to get that as described below
- Run the exe
# sudo apt-get install mono-runtime
# mono KarmaloopAIMLBotServer.exe
See the output section to verify if you are seeing something similar.
macOS
Download and setup Mono for Mac OS X. Get it here Once you have Mono setup, you should be able to run the following command from the directory where you have extracted the binaries
# mono KarmaloopAIMLBotServer.exe
See the output section to verify if you are seeing something similar.