Changes between Version 3 and Version 4 of Public/DjAiAdmin


Ignore:
Timestamp:
Jul 9, 2023, 10:34:14 AM (16 months ago)
Author:
Boris Horner
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Public/DjAiAdmin

    v3 v4  
    1212* Unzip the zip package.
    1313* Move the folder {{{djAI}}} to the server machine.
    14 * Move the folder {{{djAIClient}}} to the server machine.
     14* Move the folder {{{djAIClient}}} to the client machine.
    1515
    1616== djAI web service installation
     17=== Installing the web service on the same machine as the Windows client
     18* Install .net 7 Core.
     19* Move the folder {{{djAI}}} to //Documents// or another suitable folder where you have write permission.
     20* The service runs, by default, on port 5000. If you want to change the port, edit the file {{{djAI\run_djAI.cmd}}} and change the port accordingly. Do not change the IP address in local installations:
     21 {{{
     22dotnet djAI.dll --urls http://127.0.0.1:5000
     23}}}
     24
     25=== Installing the web service on a server
     26* Install .net 7 Core.
     27* Move the folder {{{djAI}}} to a suitable folder.
     28* Edit the file {{{run_djAI.cmd}}} in the {{{djAI}}} folder and change the loopback IP {{{127.0.0.1}}} to the IP address you want the service to listen to. You can also change the port, if required:
     29 {{{
     30dotnet djAI.dll --urls http://127.0.0.1:5000
     31}}}
     32* Configure the service to start on system reboot:
     33 * **Linux:** Run {{{crontab -e}}} and add the following line:
     34  {{{
     35@reboot /path/to/djAI/run_djAI.cmd
     36}}}
     37 * **Windows:** Use //Scheduled tasks// to configure automatic start.
     38