Skip to content
Open
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
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true
48 changes: 48 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This file was created automatically with `myst init --gh-pages` 🪄 💚
# Ensure your GitHub Pages settings for this repository are set to deploy with **GitHub Actions**.

name: MyST GitHub Pages Deploy
on:
push:
# Runs on pushes targeting the default branch
branches: [main]
env:
# `BASE_URL` determines, relative to the root of the domain, the URL that your site is served from.
# E.g., if your site lives at `https://mydomain.org/myproject`, set `BASE_URL=/myproject`.
# If, instead, your site lives at the root of the domain, at `https://mydomain.org`, set `BASE_URL=''`.
BASE_URL: /${{ github.event.repository.name }}

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v3
- uses: actions/setup-node@v4
with:
node-version: 18.x
- name: Install MyST
run: npm install -g mystmd
- name: Build HTML Assets
run: myst build --html
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './_build/html'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,9 @@ cython_debug/
config.yaml
cdk.out/
node_modules/
# pixi environments
.pixi/*
!.pixi/config.toml

# MyST build outputs
_build
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# eoAPI FedGeoDay25 workshop
# eoAPI workshop code

This repository contains the materials for the eoAPI workshop at FedGeoDay25 in Washington D.C. on April 23, 2025.
This repository contains the materials for the eoAPI workshop.

For the in-person workshop we deployed eoAPI using [eoapi-cdk](https://github.com/developmentseed/eoapi-cdk) constructs in AWS us-west-2.
Participants in the in-person workshop were provided with credentials for the `pgstac` database so they could interact with it during the tutorials.
Expand Down Expand Up @@ -63,8 +63,8 @@ Once authenticated, Docker will be able to pull the required container images fr
### Clone this repository and start the docker network

```bash
git clone https://github.com/developmentseed/eoapi-fedgeoday25-workshop.git
cd eoapi-fedgeoday25-workshop
git clone https://github.com/developmentseed/eoapi-workshop.git
cd eoapi-workshop
docker compose up
```

Expand Down
21 changes: 7 additions & 14 deletions docs/00-introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@
"id": "b0fe2745-eb52-407c-8855-58f5073a7e2a",
"metadata": {},
"source": [
"# eoAPI: FedGeoDay25 Workshop\n",
"# eoAPI: Workshop\n",
"\n",
"April 23, 2025 - Washington D.C.\n",
"- November 3, 2025 - FOSS4GNA Reston, VA \n",
"- October 1, 2025 - Minnesota GIS/LIS Diluth, MN\n",
"- April 23, 2025 - FedGeoDay Washington D.C.\n",
"\n",
"<img width=\"500\" src=\"./media/eoAPI.png\"/>"
]
Expand All @@ -31,7 +33,7 @@
"\n",
"## Workshop Infrastructure:\n",
"\n",
"* Project homepage: <https://github.com/developmentseed/eoapi-fedgeoday25-workshop>\n",
"* Project homepage: <https://github.com/developmentseed/eoapi-workshop>\n",
"* For the workshop on April 23, 2025 we have a fresh eoAPI stack deployed to AWS using eoapi-cdk (see [DEPLOYMENT.md](../DEPLOYMENT.md) for details) \n",
" * This stack will be torn down after the workshop \n",
" * eoAPI API endpoints: \n",
Expand All @@ -41,7 +43,7 @@
" * Workshop participants will given access credentials for the `pgstac` database during the workshop so they can interact with the pgstac PostgreSQL database directly \n",
"* binder notebook server (https://binder.opensci.2i2c.cloud/): \n",
" * Hosted by NASA \n",
" * [https://binder.opensci.2i2c.cloud/v2/gh/developmentseed/eoapi-fedgeoday25-workshop/HEAD?urlpath=doc/tree/docs/introduction.ipynb](https://binder.opensci.2i2c.cloud/v2/gh/developmentseed/eoapi-fedgeoday25-workshop/HEAD?urlpath=doc/tree/docs/introduction.ipynb) \n",
" * [https://binder.opensci.2i2c.cloud/v2/gh/developmentseed/eoapi-workshop/HEAD?urlpath=doc/tree/docs/introduction.ipynb](https://binder.opensci.2i2c.cloud/v2/gh/developmentseed/eoapi-workshop/HEAD?urlpath=doc/tree/docs/introduction.ipynb) \n",
"\n",
"\n",
"## Interactive tutorial outline\n",
Expand Down Expand Up @@ -508,16 +510,7 @@
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.10"
"name": "python"
}
},
"nbformat": 4,
Expand Down
28 changes: 28 additions & 0 deletions myst.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# See docs at: https://mystmd.org/guide/frontmatter
version: 1
project:
id: 3d9786d8-d36d-42dd-9347-bb284fc3f7fe
title: eoAPI Workshop
# description:
keywords: [eoapi, stac, pgstac]
authors: [Henry Rodman, Alex Mandel]
github: https://github.com/developmentseed/eoapi-workshop
# To autogenerate a Table of Contents, run "myst init --write-toc"
toc:
# Auto-generated by `myst init --write-toc`
- file: docs/00-introduction.ipynb
- title: Workshop
children:
- file: docs/01-stac_metadata.ipynb
- file: docs/02-database.ipynb
- file: docs/03-stac_fastapi_pgstac.ipynb
- file: docs/04-titiler_pgstac.ipynb
- file: docs/05-tipg.ipynb
- file: README.md
- file: DEPLOYMENT.md

site:
template: book-theme
# options:
# favicon: favicon.ico
# logo: site_logo.png
Loading