/fits

Field Time Series

Primary LanguageGoApache License 2.0Apache-2.0

FITS

Field Time Series data.

Compilation

There are scripts build.sh and build-push.sh for building Docker containers.

Database

There is a Docker file which can be used to create a DB image with the DB schema ready to use:

docker build --rm=true -t 862640294325.dkr.ecr.ap-southeast-2.amazonaws.com/fits-db:9.5 -f database/Dockerfile database
docker push 862640294325.dkr.ecr.ap-southeast-2.amazonaws.com/fits-db:9.5

Add test data to the DB with:

./database/scripts/initdb-test.sh

Full DB init and load a small amount of test data with:

cd scripts; ./initdb.sh

Logical Model

The database logical model.

database logical model

Deployment

Deployment on AWS Elastic Beanstalk (EB) using Docker containers.

fits-api

There are files for EB - both to deploy the application and also set up logging from the container (application) to CloudWatch Logs. Create a zip file and then upload the zip to EB.

cd deploy
zip fits.zip Dockerrun.aws.json .ebextensions/*