chaostreff.ch 2.0, Work in Progress
Find a file
s3lph 8d23141cf0
Some checks failed
/ build (push) Failing after 29s
/ upload (push) Failing after 48s
feat: add provisional spaceapi v15 hub endpoint
2024-05-25 14:24:37 +02:00
.forgejo/workflows feat: restrict upload job to ipv6 capable runners 2023-11-13 23:42:15 +01:00
l10n Add IRC port 2023-01-11 00:04:10 +01:00
src feat: add provisional spaceapi v15 hub endpoint 2024-05-25 14:24:37 +02:00
static initial commit 2023-01-04 02:32:00 +01:00
static-src feat: add provisional spaceapi v15 hub endpoint 2024-05-25 14:24:37 +02:00
.gitignore initial commit 2023-01-04 02:32:00 +01:00
build.py httpd config 2023-01-04 03:05:25 +01:00
config.yml feat: add provisional spaceapi v15 hub endpoint 2024-05-25 14:24:37 +02:00
LICENSE initial commit 2023-01-04 02:32:00 +01:00
README.md httpd config 2023-01-04 03:05:25 +01:00
requirements.txt feat: add provisional spaceapi v15 hub endpoint 2024-05-25 14:24:37 +02:00
run.py feat: add provisional spaceapi v15 hub endpoint 2024-05-25 14:24:37 +02:00

chaostreff.ch

Source code and build scripts for chaostreff.ch

Production Deployment

$ python3 -m virtualenv venv
$ . venv/bin/activate
(venv) $ pip install -r requirements.txt
(venv) $ ./build.py

Then deploy the contents of out/ to the webroot.

To make the site really usable, the following features should be configured:

  • A proxying service for SpaceAPI endpoints (since some of them don't set CORS headers)
  • Automatic redirection to the correct language subpage based on the Accept-Language header

An example configuration for Apache httpd can be found in the httpd.conf file.

Local Development Setup

$ python3 -m virtualenv venv
$ . venv/bin/activate
(venv) $ pip install -r requirements.txt
(venv) $ ./build.py
(venv) $ ./run.py

run.py includes a SpaceAPI proxy to work around missing CORS headers.

License

With exception of the sources listed below, this project is licensed under the MIT License.

static/*/bootstrap*

static/{css,js}/leaflet*

static/img/leaflet-marker-*