This commit is contained in:
2025-03-31 20:44:14 -07:00
commit 894f379c8f
23 changed files with 271 additions and 0 deletions

7
.gitignore vendored Normal file
View File

@@ -0,0 +1,7 @@
# Hugo build output
/public/
/resources/_gen/
/assets/jsconfig.json
# Hugo cache
/.hugo_build.lock

3
.gitmodules vendored Normal file
View File

@@ -0,0 +1,3 @@
[submodule "themes/ananke"]
path = themes/ananke
url = https://github.com/theNewDynamic/gohugo-theme-ananke.git

2
Dockerfile Normal file
View File

@@ -0,0 +1,2 @@
FROM nginx:alpine
COPY ./public /usr/share/nginx/html

19
README.md Normal file
View File

@@ -0,0 +1,19 @@
# CivilSociety.dev
## Dev environment
- Install hugo.
- Install dart-sass.
```bash
hugo server
```
## Deploy
```bash
hugo build
docker build -t payneio/civilsociety.dev . --file ./Dockerfile
docker push payneio/civilsociety.dev
kubectl apply -f definition.yml
```

5
archetypes/default.md Normal file
View File

@@ -0,0 +1,5 @@
+++
date = '{{ .Date }}'
draft = true
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
+++

9
content/_index.md Normal file
View File

@@ -0,0 +1,9 @@
+++
title = 'Welcome to Civil Society .dev'
+++
[Getting started](/learning/getting_started)
<!-- <a class="f6 link dim ba ph3 pv2 mb2 dib black" href="/learning/getting_started">Getting Started</a> -->

26
content/about.md Normal file
View File

@@ -0,0 +1,26 @@
+++
title = 'About'
+++
## Mission
To create and maintain open-source digital infrastructure that empowers civil society, reducing dependence on corporate and government-controlled technology.
## Core Values
- Decentralization No single point of control.
- Privacy & Security Everything built with user autonomy in mind.
- Sustainability Self-funded, resilient, and community-supported.
- Transparency Open discussions, decision-making, and finances.
- Cooperation Over Competition Collaborate with other projects rather than duplicate efforts.
## Governance
- See [Governance](/projects/governance)
## Contact
Paul Payne
paul@payne.io
+1 (206) 790-6707
Redmond, WA 98052

12
content/contribute.md Normal file
View File

@@ -0,0 +1,12 @@
+++
title = 'Contribute'
+++
# Help us create a strong and lasting technical foundation for Civil Society.
- [Move to open technologies](/learning/getting_started).
- Join a project working-group.
- Propose a project.
- Sponsor a working group
- [Join a board](/projects/governance).

View File

View File

@@ -0,0 +1,15 @@
+++
title = 'Getting Started'
+++
```bash
# See https://k3s.io/
curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode=644
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml
```
## Future
Consider defaults:
- [Longhorn](https://docs.k3s.io/storage).

5
content/learning/git.md Normal file
View File

@@ -0,0 +1,5 @@
+++
title = 'Git'
+++

View File

@@ -0,0 +1,4 @@
+++
title = 'The Internet'
+++

View File

@@ -0,0 +1,5 @@
+++
title = 'Language Models'
+++

View File

@@ -0,0 +1,5 @@
+++
title = 'Linux'
+++

View File

@@ -0,0 +1,5 @@
+++
title = 'Open Source'
+++

View File

@@ -0,0 +1,5 @@
+++
title = 'Software Development'
+++

View File

@@ -0,0 +1 @@
# Working groups.

View File

@@ -0,0 +1,5 @@
+++
title = 'Education'
+++
Curating and developing education resources.

View File

@@ -0,0 +1,10 @@
+++
title = 'Governance'
weight = 10
+++
Transparency is paramount.
Governance is an evolving project.

View File

@@ -0,0 +1,8 @@
+++
title = 'Sovereign Cloud'
+++
A.K.A "The Stack", a.k.a., "The Starter Kit"
- Kubernetes
- Rancher

68
definition.yml Normal file
View File

@@ -0,0 +1,68 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: civilsocietydev
# namespace: civilsociety-dev
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
cert-manager.io/cluster-issuer: k3s-ca-cluster-issuer
spec:
tls:
- hosts:
- civilsociety.dev
secretName: k3s-ca-civilsocietydev-tls
rules:
- host: "civilsociety.dev"
http:
paths:
- pathType: Prefix
path: /
backend:
service:
name: civilsocietydev-service
port:
name: http
---
apiVersion: v1
kind: Service
metadata:
name: civilsocietydev-service
# namespace: civilsociety-dev
spec:
ports:
- port: 80
protocol: TCP
selector:
app: civilsocietydev
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: civilsocietydev-nginx
# namespace: civilsociety-dev
labels:
app: civilsocietydev
version: v1
tier: backend
environment: production
owner: payneio
app.kubernetes.io/instance: civilsocietydev
app.kubernetes.io/managed-by: kubectl
spec:
selector:
matchLabels:
app: civilsocietydev
replicas: 2
template:
metadata:
labels:
app: civilsocietydev
spec:
containers:
- name: civilsocietydev
image: payneio/civilsociety.dev:latest
ports:
- containerPort: 80

51
hugo.toml Normal file
View File

@@ -0,0 +1,51 @@
baseURL = 'https://civilsociety.dev/'
languageCode = 'en-us'
title = 'Civil Society .dev'
theme = 'ananke'
copyright = 'CivilSociety.dev'
[menus]
[[menus.main]]
name = 'About'
pageRef = '/about'
weight = 20
[[menus.main]]
name = 'Contribute'
pageRef = '/contribute'
weight = 30
[[menus.main]]
name = 'Projects'
pageRef = '/projects'
weight = 40
[[menus.main]]
name = 'Learning'
pageRef = '/learning'
weight = 50
[[menus.footer]]
name = 'About'
pageRef = '/about'
weight = 10
[[menus.footer]]
name = 'Terms'
pageRef = '/terms'
weight = 20
[[menus.footer]]
name = 'Privacy'
pageRef = '/privacy'
weight = 20
[params]
# mainSections = ["post"]
text_color = "black"
author = "CivilSociety.dev"
favicon = ""
site_logo = ""
description = "The last theme you'll ever need. Maybe."
# choose a background color from any on this page: https://tachyons.io/docs/themes/skins/ and preface it with "bg-"
background_color_class = "bg-black"
# choose fitting and alignment styles for the featured image using Tachyons classes such as "cover|contain" for fitting and "bg-top|bg-center|bg-bottom" for alignment, or add any other class space-separated to customize further
featured_image_class = "cover bg-top"
# choose a color dimming class for the page or site header from any on this page: https://tachyons.io/docs/themes/skins/, preface it with "bg-" and add the value such as "-X0" where X is in [1,9]
cover_dimming_class = "bg-black-60"
recent_posts_number = 3

1
themes/ananke Submodule

Submodule themes/ananke added at 3f0b2aa33f