Skip to content

TECH4DX/data-transfer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

data-transfer installation guide

# Get the project
$ git clone https://github.com/TECH4DX/data-transfer.git
# Run the project to read data from the OpenSearch
$ ./run.sh read
# Run the project to write data to the ElasticSearch
$ ./run.sh write
# To run this project:
# Please set the variable values in advance in db\open_search.py.
# OPEN_SEARCH_HOST: The host of the OpenSearch.
# OPEN_SEARCH_PORT: The port of the OpenSearch.
# OPEN_SEARCH_USER: Username.
# OPEN_SEARCH_PASSWORD: Password.
host = os.environ.get('OPEN_SEARCH_HOST', '')
port = os.environ.get('OPEN_SEARCH_PORT', '')
auth = (os.environ.get('OPEN_SEARCH_USER', ''),  os.environ.get('OPEN_SEARCH_PASSWORD', ''))

# Please set the variable values in advance db\elastic_search.py.
# ELASTIC_SEARCH_HOST: The host of the ElasticSearch.
# ELASTIC_SEARCH_PORT: The port of the ElasticSearch.
# ELASTIC_SEARCH_USER: Username.
# ELASTIC_SEARCH_PASSWORD: Password.
host = os.environ.get('ELASTIC_SEARCH_HOST', '')
port = os.environ.get('ELASTIC_SEARCH_PORT', '')
auth = (os.environ.get('ELASTIC_SEARCH_USER', ''),  os.environ.get('ELASTIC_SEARCH_PASSWORD', ''))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published