Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.35 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.35 KB

Scala Steward badge Scala CI

Mongo-csv-importer

Imports csv items into mongo

Injecting environment variables

Environment variables can be injected in 2 ways.

  1. A config file.
  2. The system environment variables.

When using the config file, create a config file application.conf located under
src/main/resources

Required Environment variables

mongo_address=
mongo_port=
mongo_db_name=

Optional auth environment variables

mongo_auth_uname=
mongo_auth_pw=

Usage

When the user gets prompted for their input to the path, the raw path to the files should be
entered. eg: c:/users/username/desktop/csvFiles
The files under this directory should be .csv