https://github.com/smithsonian/ngeht-challenge-infra
https://github.com/smithsonian/ngeht-challenge-infra
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/smithsonian/ngeht-challenge-infra
- Owner: Smithsonian
- Created: 2021-05-25T18:51:39.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T22:26:04.000Z (over 2 years ago)
- Last Synced: 2024-12-30T02:43:22.002Z (over 1 year ago)
- Language: Python
- Size: 43.9 KB
- Stars: 1
- Watchers: 8
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ngEHT Challenge Website Infrastructure
This repo contains infrastructure for the ngEHT Challenge website, namely:
- an nginx configuration file, which mostly serves up static content pages
- a small webserver based on `aiohttp` to handle uploads
- some code to post information about uploads to a Slack channel
The webserver code has support for asynchronously running cpu-intensive tasks (`run_burner()`)
and command line programs (`run_external_exec()`). The latter is currently used to test
the integrity of uploaded zip archives. The webserver also has a route `/upload-test`
intended to be used for uptime monitoring.
The webpages for upload success or failure are templated with Jinja2.