/
Step 3 - Configure Settings

Step 3 - Configure Settings

Sample configuration file

Copy the supplied importer.config.example to importer.config in the config folder.

Syntax
PGHost=localhost
PGUser=postgres
PGDBName=NLPGImporterTest
PGPwd=postgres
PGPort=5433
MyName=NLPG
PendingDir=F:\Python\NLPGImporter\Pending
CompletedDir=F:\Python\NLPGImporter\Completed
ArchiveDir=F:\Python\NLPGImporter\Archive

Note

This file must reside in the config folder.

Setting up the configuration file

PGHost

Substitute localhost for whatever postgres host you wish to connect to.

PGUser

The postgres user who will access the postgres database

PGDBName

The name of the postgres database set up for the NLPG Importer

PGPwd

The password for the  above PGUser

PGPort

The port for your postgres instance

MyName

Leave as MyName=NLPG

PendingDir

Set this as the path to the Pending folder where files to be imported will be placed

CompletedDir

Set this as the path to the Completed folder where files will be placed once processing is complete.

ArchiveDir

Set this as the path to the Archive folder. Files need to be placed here to serve as a record of which files have been received, and will be used if there is a need to reset the NLPG Importer back to the initial state.

Related content

Step 1 - Unzip installer & create folders
Step 1 - Unzip installer & create folders
More like this
Step 6 - Create Task to Import NLPG data
Step 6 - Create Task to Import NLPG data
More like this
Step 2 - Database Setup
Step 2 - Database Setup
More like this
NLPG Importer Installation & Configuration
NLPG Importer Installation & Configuration
More like this
Step 10 - Create Task to Reset the NLPG data
Step 10 - Create Task to Reset the NLPG data
More like this
Step 5 - Create Job to Import & Build NLPG data
Step 5 - Create Job to Import & Build NLPG data
More like this