Field Time Series
Go JavaScript HTML CSS Shell PLSQL
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
cmd/fits-api
docs
etc
examples
internal
vendor
.dockerignore
.gitignore
.travis.yml
LICENSE
README.md
all.sh
build-push.sh
build.sh

README.md

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 etc/Dockerfile database
docker push 862640294325.dkr.ecr.ap-southeast-2.amazonaws.com/fits-db:9.5

Add test data to the DB with:

./etc/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/*