Skip to content

Commit

Permalink
Remove unused files and database configuration (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
zacdezgeo authored Sep 24, 2024
1 parent 085a7fa commit 056f685
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 14 deletions.
Empty file removed postgres/chunk_parquet.py
Empty file.
7 changes: 0 additions & 7 deletions postgres/deploy.md

This file was deleted.

7 changes: 0 additions & 7 deletions postgres/download_parquet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,6 @@ S3_BUCKET="wbg-geography01"
PARQUET_FILE="Space2Stats/parquet/GLOBAL/combined_population.parquet"
LOCAL_PARQUET_FILE="space2stats.parquet"

# PostgreSQL configuration
PGHOST="${MY_DOCKER_IP:-127.0.0.1}"
PGPORT=5439
PGDATABASE="postgis"
PGUSER="username"
PGPASSWORD="password"

# Download Parquet file from S3
echo "Downloading Parquet file from S3..."
aws s3 cp --quiet s3://$S3_BUCKET/$PARQUET_FILE $LOCAL_PARQUET_FILE

0 comments on commit 056f685

Please sign in to comment.