Skip to content

Configuration

Tim1702 edited this page Oct 7, 2022 · 4 revisions

Configuration file can be found under the folder, called settings.json.

  • MyFolder\MyAutocount\MyAutocount\bin\Release\settings.json

There are five parameters defined in the JSON file:

Parameter Description
ipAddress Default: localhost
port Default: 8888
databaseName Database name for Autocount
serverName Server name for Autocount
saPassword Password to access Autocount server

Note: After changing any value in the configuration file, the REST API server needs to restart.

To restart REST API server:

  1. Go to Windows Services.
  • Win + R > services.msc
  1. Locate MyAutocount API Server service, then press Restart.

image

Note: If you make any changes to IP Address and port, you should also modify respective parameters under Autocount settings in ERPNext to take effect. Refer to: https://github.com/msf4-0/ERPNext-Autocount-Integration

Clone this wiki locally