From 894a7194f91ec9ac65a1da58e63802a69c5ca794 Mon Sep 17 00:00:00 2001 From: Timur Girgin Date: Fri, 26 Aug 2022 18:03:42 +0200 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 895348b..e18f688 100644 --- a/README.md +++ b/README.md @@ -1 +1,13 @@ -## tifeatures-timvt +### EIS Fires + +#### Deploying + +To deploy, just run `cdk synth`, `cdk bootstrap` and `cdk deploy`. + +After deploying, an stdout with the url to the endpoint and the AWS secret ARN will be provided. The AWS secret ARN is useful to be able to use ogr2ogr to publish data to the database. Either use the command line or the AWS console to get those values to connect to the database or use ogr2ogr. + +#### Adding data to the database + +To add append to a table: + +`ogr2ogr -f "PostgreSQL" PG:"host=HOST dbname=DBNAME user=USER password=PASSWORD" "LargeFires_2012-2020.gpkg" -nln fire_boundaries2 -append`