Compare commits
18 Commits
dfffae35b2
...
main
Author | SHA1 | Date | |
---|---|---|---|
150a7127cc | |||
21431bc420 | |||
224f5a509a | |||
14303d6b28 | |||
af6809bab6 | |||
67bb78d0f2 | |||
1a7cba18ff | |||
00a7b14efa | |||
36238a8e87 | |||
24d730631b | |||
6d564675fa | |||
b65877595d | |||
4cf125f349 | |||
01a66409cb | |||
322b2b8092 | |||
c1042a40bc | |||
efac2d6664 | |||
8cebecbbfd |
19
.drone.yml
19
.drone.yml
@ -19,14 +19,17 @@ steps:
|
|||||||
- custom
|
- custom
|
||||||
|
|
||||||
- name: deploy-site
|
- name: deploy-site
|
||||||
image: git.coopcloud.tech/coop-cloud/docker-cp-deploy:latest
|
image: git.coopcloud.tech/coop-cloud/stack-ssh-deploy:latest
|
||||||
settings:
|
settings:
|
||||||
host: small-clients.autonomic.zone
|
stack: kcl_smallclients_autonomic_zone
|
||||||
service: kcl_autonomic_zone_app
|
host: smallclients.autonomic.zone
|
||||||
source: /srv/jekyll/dist/
|
compose: docker-compose.yml
|
||||||
dest: /usr/share/nginx/html/
|
|
||||||
exec_pre: rm -rf /usr/share/nginx/html/*
|
|
||||||
deploy_key:
|
deploy_key:
|
||||||
from_secret: drone_ssh_swarm-demo.autonomic.zone
|
from_secret: drone_ssh_smallclients.autonomic.zone
|
||||||
|
environment:
|
||||||
|
DOMAIN: kcl.smallclients.autonomic.zone
|
||||||
|
STACK_NAME: kcl_smallclients_autonomic_zone
|
||||||
|
NGINX_CONF_VERSION: v2
|
||||||
|
REPOSITORY: "autonomic-cooperative/kcl-site"
|
||||||
depends_on:
|
depends_on:
|
||||||
- publish-jekyll-container
|
- publish jekyll container
|
25
.github/workflows/deploy.yml
vendored
25
.github/workflows/deploy.yml
vendored
@ -1,25 +0,0 @@
|
|||||||
name: GitHub Pages Deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: '3.0'
|
|
||||||
bundler-cache: true
|
|
||||||
- name: Build site
|
|
||||||
run: bundle exec rake build
|
|
||||||
- name: Deploy
|
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
|
||||||
with:
|
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
publish_dir: ./_site
|
|
||||||
cname: digitalgarden.hypha.coop
|
|
12
.github/workflows/js-lint.yml
vendored
12
.github/workflows/js-lint.yml
vendored
@ -1,12 +0,0 @@
|
|||||||
name: JS Lint
|
|
||||||
on: [push, pull_request]
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- uses: actions/setup-node@v2
|
|
||||||
with:
|
|
||||||
node-version: '14.16.0'
|
|
||||||
- run: npm install standard
|
|
||||||
- run: npx standard
|
|
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -1,19 +0,0 @@
|
|||||||
name: HTMLProofer
|
|
||||||
on: [push, pull_request]
|
|
||||||
jobs:
|
|
||||||
test:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
ruby-version: ['2.7', '3.0']
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Set up Ruby
|
|
||||||
uses: ruby/setup-ruby@v1
|
|
||||||
with:
|
|
||||||
ruby-version: ${{ matrix.ruby-version }}
|
|
||||||
bundler-cache: true
|
|
||||||
- name: Install Curl
|
|
||||||
run: sudo apt install libcurl4-openssl-dev
|
|
||||||
- name: Run tests
|
|
||||||
run: bundle exec rake
|
|
10
README.md
10
README.md
@ -1,6 +1,6 @@
|
|||||||
# Digital Garden
|
# Digital Garden
|
||||||
|
|
||||||
A public notebook / digital garden for King's College London's digital humanities department.
|
A digital garden for King's College London's [Centre for Digital Culture](https://www.kcl.ac.uk/research/cdc).
|
||||||
|
|
||||||
Based on [Hypha's digital garden for The Bentway's Digital and/as Public Space Micro-residency](https://digitalgarden.hypha.coop).
|
Based on [Hypha's digital garden for The Bentway's Digital and/as Public Space Micro-residency](https://digitalgarden.hypha.coop).
|
||||||
|
|
||||||
@ -16,8 +16,14 @@ Based on [Hypha's digital garden for The Bentway's Digital and/as Public Space M
|
|||||||
- [D3.js](https://d3js.org/), a JavaScript library for visualizing data
|
- [D3.js](https://d3js.org/), a JavaScript library for visualizing data
|
||||||
+ Initial knowledge graph implementation from the [Digital garden Jekyll template](https://github.com/maximevaillancourt/digital-garden-jekyll-template)
|
+ Initial knowledge graph implementation from the [Digital garden Jekyll template](https://github.com/maximevaillancourt/digital-garden-jekyll-template)
|
||||||
- [Jekyll Feed plugin](https://github.com/hyphacoop/jekyll-feed), a plugin for Jekyll to generate an RSS feed
|
- [Jekyll Feed plugin](https://github.com/hyphacoop/jekyll-feed), a plugin for Jekyll to generate an RSS feed
|
||||||
|
- [Jekyll serve](https://github.com/BretFisher/jekyll-serve) by Brett Fisher
|
||||||
|
|
||||||
## Development
|
## Development
|
||||||
|
### Using docker
|
||||||
|
1. Run `docker compose -f docker-compose.dev.yml up`
|
||||||
|
2. Visit your `localhost` on port `4000`: http://localhost:4000 or http://0.0.0.0:4000
|
||||||
|
|
||||||
|
### Using jekyll
|
||||||
1. Clone repository: `git clone ssh://git@git.autonomic.zone:2222/autonomic-cooperative/kcl-digital-humanities-garden.git`
|
1. Clone repository: `git clone ssh://git@git.autonomic.zone:2222/autonomic-cooperative/kcl-digital-humanities-garden.git`
|
||||||
2. Install ruby's command line tools with your package manager (e.g. `brew install ruby`)
|
2. Install ruby's command line tools with your package manager (e.g. `brew install ruby`)
|
||||||
3. Install Bundler gem: `gem install bundler`
|
3. Install Bundler gem: `gem install bundler`
|
||||||
@ -29,3 +35,5 @@ Based on [Hypha's digital garden for The Bentway's Digital and/as Public Space M
|
|||||||
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Digital Garden</span> content is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
|
<span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Digital Garden</span> content is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
|
||||||
|
|
||||||
All code at <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/hyphacoop/digitalgarden/" property="cc:attributionName" rel="cc:attributionURL">github.com/hyphacoop/digitalgarden/</a> is licensed under a <a rel="license" href="https://www.gnu.org/licenses/gpl.html">GNU General Public License v3.0</a>, the text of which is included in the repository [here](https://github.com/hyphacoop/digitalgarden/blob/main/LICENSE).
|
All code at <a xmlns:cc="http://creativecommons.org/ns#" href="https://github.com/hyphacoop/digitalgarden/" property="cc:attributionName" rel="cc:attributionURL">github.com/hyphacoop/digitalgarden/</a> is licensed under a <a rel="license" href="https://www.gnu.org/licenses/gpl.html">GNU General Public License v3.0</a>, the text of which is included in the repository [here](https://github.com/hyphacoop/digitalgarden/blob/main/LICENSE).
|
||||||
|
|
||||||
|
## Local docker
|
File diff suppressed because one or more lines are too long
23
about.md
Normal file
23
about.md
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: about
|
||||||
|
---
|
||||||
|
|
||||||
|
[](https://www.kcl.ac.uk/research/cdc)
|
||||||
|
|
||||||
|
This is a digital garden for the [Centre for Digital Culture (CDC)](https://www.kcl.ac.uk/research/cdc) at [King's College London](https://kcl.ac.uk/).
|
||||||
|
|
||||||
|
The Centre for Digital Culture is an interdisciplinary research centre promoting research and public engagement with digital culture, including the dynamics and practices, imaginaries and materialities, interactions and infrastructures, forms and formats that accompany the web, social media and networked digital devices. Through our projects and activities we support critical inquiry both with and about digital technologies across disciplines, languages, regions and online spaces.
|
||||||
|
|
||||||
|
The Centre for Digital Culture is part of the [Digital Futures Institute](https://www.kcl.ac.uk/dfi).
|
||||||
|
|
||||||
|
|
||||||
|
## website credits
|
||||||
|
|
||||||
|
The website was developed with the [Autonomic cooperative](https://autonomic.zone/) drawing on a [digital garden project](https://thebentway.ca/stories/digital-and-as-public-space/) from [Hypha](https://hypha.coop/), a worker co-operative based in Toronto.
|
||||||
|
|
||||||
|
It uses the following open source components:
|
||||||
|
- **[Anthony](http://velvetyne.fr/fonts/anthony/)** - a typeface designed by [Sun Young Oh](https://www.sunyoungoh.com/) and inspired from artworks by British sculptor Anthony Caro. The form of this typeface comes from his sculptures that are leaning against each other. Anthony is licensed under the [SIL Open Font License v1.1](http://scripts.sil.org/OFL)
|
||||||
|
- **[Work Sans](https://github.com/weiweihuanghuang/Work-Sans)** - a typeface designed by [Wei Huang](http://charlix.cx/) based loosely on early Grotesques. Work Sans was made in part on the stolen lands of the Wurundjeri and Boon Wurrung people of the Kulin nations. Work Sans is licensed under the [SIL Open Font License v1.1](http://scripts.sil.org/OFL)
|
||||||
|
- **[Tachyons](https://tachyons.io/)** - a modular CSS library with a few extended features.
|
||||||
|
- **[D3.js](https://d3js.org/)** - a JavaScript library for visualizing data. D3.js was used to create the interactive knowledge graph. Originally from [Digital garden Jekyll template](https://github.com/maximevaillancourt/digital-garden-jekyll-template) by Maxime Vaillancourt.
|
BIN
assets/images/cdc.webp
Normal file
BIN
assets/images/cdc.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.0 KiB |
@ -3,6 +3,9 @@
|
|||||||
services:
|
services:
|
||||||
jekyll:
|
jekyll:
|
||||||
image: git.autonomic.zone/autonomic-cooperative/kcl-site-dev:latest
|
image: git.autonomic.zone/autonomic-cooperative/kcl-site-dev:latest
|
||||||
|
build:
|
||||||
|
context: .
|
||||||
|
dockerfile: Dockerfile.dev
|
||||||
volumes:
|
volumes:
|
||||||
- .:/site
|
- .:/site
|
||||||
ports:
|
ports:
|
||||||
|
@ -17,7 +17,7 @@ http {
|
|||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri.html $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
location /error_page.html {
|
location /error_page.html {
|
||||||
|
Reference in New Issue
Block a user