Step 1 - Unzip installer & create folders

Python Script Installation

Extract the contents of the zip file NLPGImporter.zip to a convenient location e.g. C:\Python\NLPG Importer, keeping the same folder structure as the zip file.

Folder Structure

 

\Scripts

Database scripts

\Config

Example configuration file importer.config.example

Config.py

CS.py

Data.py

Files.py

Importer.py

Output.py

Python scripts for NLPG Importer

 

Create Folders for NLPG Importer

The NLPG Importer requires three sub folders for processing the supplied NLPG import files which you will need to create e.g.

 

C:\Python\NLPG Importer\Pending

Where all new NLPG files should be placed

C:\Python\NLPG Importer\Completed

Where the NLPG Importer places all processed files

C:\Python\NLPG Importer\Archive

Where all new NLPG files should be placed.

New files need to be placed in the archived folder as well as the pending folder in order that, if the NLPG postgres database needs to be re-built [reset], the files are available for this purpose.

Note

The postgres user [as defined in the Configuration Settings] requires full access to all of the above folders.