Skip to content

A service that transfers field observations every 24hrs from Epicollect5 to a Postgres instance

Notifications You must be signed in to change notification settings

ssifwc/epicollect-migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SSIFWC - Epicollect Importer

This a service that activates once every 24hrs to transfer newly gathered Epicollect points into the SSIFWC postgres database.

Setup

* brew install postgresql

Install Serverless:

npm install -g serverless

Install Serverless Python Requirements

sls plugin install -n serverless-python-requirements

Create a serverless.env.yml file which is used as part of the deployment process. Here is an example:

dev:
 EPICOLLECT_BASE_URL: xxxxx**
 EPICOLLECT_PROJECT_NAME: xxxxx
 EPICOLLECT_PROJECT_NAME_2: xxxxx
 DATABASE_CONNECTION_URI: xxxxx
 

Deployment

Deployment requires only a simple serverless command, dependencies are installed automatically:

sls deploy

About

A service that transfers field observations every 24hrs from Epicollect5 to a Postgres instance

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published