Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

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 host

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.

  • No labels