kcl-digital-humanities-garden/README.md

39 lines
2.8 KiB
Markdown
Raw Normal View History

2021-04-11 14:10:19 +00:00
# Digital Garden
2021-03-05 01:21:48 +00:00
2024-07-08 13:49:54 +00:00
A public notebook / digital garden for King's College London's digital humanities department.
2021-03-07 22:59:37 +00:00
2024-07-08 13:49:54 +00:00
Based on [Hypha's digital garden for The Bentway's Digital and/as Public Space Micro-residency](https://digitalgarden.hypha.coop).
2021-04-11 14:10:19 +00:00
## Adding and connecting notes
- [Notes](./_notes) in the Digital Garden are stored in the `./_notes` folder as markdown files (`*.md`) files.
2021-04-11 14:11:44 +00:00
- Connecting notes is done through a double-bracket notation: `[[text to link]]`. View the [The Statement of Intent](./_notes/statement-of-intent.md) note as an example.
2021-04-11 14:10:19 +00:00
- A link without a corresponding markdown file will be highlighted and left unlinked until a file is created.
## Technologies used
- [Jekyll](https://jekyllrb.com/), a static website generator written in Ruby
+ Initial template is based on the [Digital garden Jekyll template](https://github.com/maximevaillancourt/digital-garden-jekyll-template) by Maxime Vaillancourt
- [Tachyons](https://tachyons.io/), a functional CSS library that allows us to quickly grow the garden
- [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)
- [Jekyll Feed plugin](https://github.com/hyphacoop/jekyll-feed), a plugin for Jekyll to generate an RSS feed
2024-07-15 18:08:46 +00:00
- [Jekyll serve](https://github.com/BretFisher/jekyll-serve) by Brett Fisher
2021-04-11 14:10:19 +00:00
## Development
2024-07-15 18:08:46 +00:00
### Using docker
2024-07-19 12:06:09 +00:00
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
2024-07-15 18:08:46 +00:00
### Using jekyll
2024-07-08 13:51:42 +00:00
1. Clone repository: `git clone ssh://git@git.autonomic.zone:2222/autonomic-cooperative/kcl-digital-humanities-garden.git`
2024-07-08 13:57:19 +00:00
2. Install ruby's command line tools with your package manager (e.g. `brew install ruby`)
3. Install Bundler gem: `gem install bundler`
4. Install dependencies: `bundle install`
5. Run locally: `bundle exec jekyll serve` or `rake watch`
6. Visit your `localhost` on port `4000`: http://localhost:4000 or http://127.0.0.1:4000
2021-04-11 14:10:19 +00:00
## License
<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>.
2021-04-11 14:10:19 +00:00
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).
2024-07-15 18:08:46 +00:00
## Local docker