Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .Rbuildignore

This file was deleted.

24 changes: 0 additions & 24 deletions .github/workflows/create_release.yml

This file was deleted.

50 changes: 0 additions & 50 deletions .github/workflows/pkgdown.yml

This file was deleted.

58 changes: 57 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,57 @@
docs
# IDE directories
.idea/
.vscode/

# OS files
.DS_Store
Thumbs.db

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
env/
venv/
ENV/
.venv
pip-log.txt
pip-delete-this-directory.txt
.pytest_cache/
.coverage
htmlcov/

# R
.Rhistory
.Rdata
.RData
.Ruserdata

# Julia
*.jl.cov
*.jl.*.cov
*.jl.mem

# Java
*.class
*.jar
*.war
*.ear
target/

# Node.js (if applicable)
node_modules/
npm-debug.log
yarn-error.log

# Docker
.env.local

# Logs
*.log

# Temporary files
*.tmp
*.swp
*~
35 changes: 0 additions & 35 deletions DESCRIPTION

This file was deleted.

62 changes: 62 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
FROM postgis/postgis:16-3.4-alpine

# Install required packages
RUN apk add --no-cache \
libintl \
gdal \
gdal-tools \
gdal-driver-pg \
postgresql-contrib \
curl \
ca-certificates \
git \
build-base \
postgresql-dev \
bc \
make \
g++ \
clang15 \
llvm15

# Install plsh (PostgreSQL shell procedural language)
RUN cd /tmp && \
git clone https://github.com/petere/plsh.git && \
cd plsh && \
make && \
make install && \
cd / && \
rm -rf /tmp/plsh

# Create directories
RUN mkdir -p /csv /app /sql /data

# Install PostgREST
ENV POSTGREST_VERSION=12.0.2
RUN curl -L -o /tmp/postgrest.tar.xz \
"https://github.com/PostgREST/postgrest/releases/download/v${POSTGREST_VERSION}/postgrest-v${POSTGREST_VERSION}-linux-static-x64.tar.xz" && \
tar -xJf /tmp/postgrest.tar.xz -C /usr/local/bin && \
chmod +x /usr/local/bin/postgrest && \
rm /tmp/postgrest.tar.xz

# Copy SQL initialization scripts
COPY sql/*.sql /docker-entrypoint-initdb.d/

# Copy PostgREST configuration
COPY postgrest.conf /etc/postgrest/postgrest.conf

# Copy helper scripts
COPY scripts/init_gaiacore.sh /docker-entrypoint-initdb.d/99_init_gaiacore.sh

# Expose PostgreSQL and PostgREST ports
EXPOSE 5432 3000

# Default environment variables
ENV POSTGRES_DB=gaiacore
ENV POSTGRES_USER=postgres
ENV POSTGRES_PASSWORD=postgres
ENV PGRST_DB_URI=postgresql://postgres:postgres@localhost:5432/gaiacore
ENV PGRST_DB_SCHEMA=backbone,working
ENV PGRST_DB_ANON_ROLE=postgres
ENV PGRST_SERVER_PORT=3000


41 changes: 0 additions & 41 deletions NAMESPACE

This file was deleted.

11 changes: 11 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# gaiaCore Development Version 1.1.0

Break apart the big PR and shift db functionality to gaiaDB and orchestration to gaiaDocker

# gaiaCore Development Version 1.0.0

Switch from an R-based approach to a PostGIS + PostgREST approach combined with JSON-LD representations of data sources in the gaiaCatalog.

Also include connectors in multiple languages to interface with the PostgREST API and enable flexibility to use the tool in multiple environments.


# gaiaCore Development Version 0.1.0

The initial development version of gaiaCore starts with the version of the gaiaCore R Package that was presented at the 2024 Global OHDSI Symposium ([this commit](https://github.com/OHDSI/GIS/commit/601a1245fb33647c8b5b8101278edec8dcce5323)).
Loading