# Digital Garden
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).
## Adding and connecting notes
- [Notes](./_notes) in the Digital Garden are stored in the `./_notes` folder as markdown files (`*.md`) files.
- 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.
- 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
- [Jekyll serve](https://github.com/BretFisher/jekyll-serve) by Brett Fisher
## 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`
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
## License
Digital Garden content is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
All code at github.com/hyphacoop/digitalgarden/ is licensed under a GNU General Public License v3.0, the text of which is included in the repository [here](https://github.com/hyphacoop/digitalgarden/blob/main/LICENSE).
## Local docker