A social and publishing platform for sharing harvests by all members online. It is non-extractive, co-governed by the users, and is built on open platforms. https://lumbung.space
Go to file
christoph b8a1d6f96d
All checks were successful
continuous-integration/drone/push Build is passing
Add Height & Width | For No Repeat Cut
2022-06-15 15:34:57 +02:00
archetypes shuffle hugo setup to the front 2021-12-15 12:08:23 +01:00
content add max-width to single pages and posts 2022-06-10 22:42:03 +05:00
themes/lumbung-theme Add Height & Width | For No Repeat Cut 2022-06-15 15:34:57 +02:00
.dockerignore fix: ignore also when docker building 2022-01-05 12:06:04 +01:00
.drone.yml fix: don't cache this build 2022-01-06 16:06:18 +01:00
.gitignore added files from christoph 2022-06-15 07:39:59 +02:00
compose.yml add timeline? 2022-06-15 08:19:51 +02:00
config.toml added files from christoph 2022-06-15 07:39:59 +02:00
Dockerfile.hugo try ext version 2022-03-04 12:50:07 +01:00
Dockerfile.scripts fix: really ignore cache 2022-01-06 16:02:31 +01:00
feeds_list_pen.txt full bork of content locations / menu + pen 2022-01-17 14:13:24 +01:00
feeds_list_timeline.txt add timeline feed 2022-06-15 08:08:22 +02:00
feeds_list.txt Update 'feeds_list.txt' 2022-05-19 12:25:16 +02:00
makefile full bork of content locations / menu + pen 2022-01-17 14:13:24 +01:00
README.md full bork of content locations / menu + pen 2022-01-17 14:13:24 +01:00

lumbung.space

Build Status

A new attempt to bring together the ideas of the "splash" page, "portal" page and a comfortable digital "living room" experience for lumbung[dot]space. This is a work in progress. The end goal of this is to have a new design and implementation for lumbung.space for January 2022.

FAQ

How does the CI/CD work?

The .drone.yml triggers a build on drone.autonomic.zone of the Dockerfile.hugo and the Dockerfile.scripts and then deploys the compose.yml stack using docker stack deploy.

How often is the content regenerated?

See the sleep ... statements in the compose.yml.

How do I see if content generation is working?

(requires lumbung.space docker context)

  • docker service logs -f beta_lumbung_space_peertube
  • docker service logs -f beta_lumbung_space_calendar
  • docker service logs -f beta_lumbung_space_feed

Where beta_lumbung_space_<service-name> and you see the service name in the compose.yml.

How do I add a feed?

Add your RSS feed URL to feeds_list.txt and don't forget this deploy step.

How do I wipe all the generated content?

(requires lumbung.space docker context)

docker exec -it $(docker container ls -q -f name=beta_lumbung_space_app) bash -c "rm -rf /src/content/*"

Hacking

Generate the site

Install Hugo and hugo serve --watch

Generate lumbung[dot]space posts

Do this manually first:

mkdir -p content
python3 -m venv .venv && source .venv/bin/activate
pip install git+https://git.autonomic.zone/ruangrupa/lumbunglib

export CALENDAR_URL="https://cloud.lumbung.space/remote.php/dav/public-calendars/WbnHM8YdCkKT6bcT?export"
export OUTPUT_DIR=content/calendar
lumbunglib-cal

export OUTPUT_DIR=content/tv
lumbunglib-vid

export OUTPUT_DIR=content/shouts
lumbunglib-feed  # reads ./feeds_list.txt

export OUTPUT_DIR=content/social
export MASTODON_AUTH_TOKEN=foobar
lumbunglib-hash

Afterwards, you can automatically run it with make gen.

After a git pull, you may need to run pip install git+https://git.autonomic.zone/ruangrupa/lumbunglib again.

Manually deploying new images

  • docker login -u decentral1se -p $(logins/dockerhub/decentral1se)
  • make push-hugo
  • make push-scripts

Manually deploy the site

(requires lumbung.space docker context)

  • make deploy

Deploy a new feeds_list.txt

Increment the _v<n> (e.g. v1 -> v2) in compose.yml configs to avoid any deployment error.