aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2024-12-04 19:10:32 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2024-12-04 20:17:22 +0100
commit514e34914cfbb89b2c816d25d1d74aee3780a15a (patch)
tree4c6444b63f99e32694fea787607fd71528516540
parent81b13ee0e09f176796dff1ac72dfbc76ac5a8895 (diff)
downloadweb-514e34914cfbb89b2c816d25d1d74aee3780a15a.tar.gz
web-514e34914cfbb89b2c816d25d1d74aee3780a15a.tar.bz2
web-514e34914cfbb89b2c816d25d1d74aee3780a15a.zip
Add README.
* README: New file, documenting dependencies and development build. Message-ID: <20241204181037.24687-1-janneke@gnu.org>
-rw-r--r--README43
1 files changed, 43 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 00000000..425869de
--- /dev/null
+++ b/README
@@ -0,0 +1,43 @@
+-*- mode: org -*-
+
+#+TITLE: the Hurd website
+
+The Hurd website available at https://www.gnu.org/software/hurd/ is a
+static website built with [[https://ikiwiki.info/][Ikiwiki]]. This directory contains the source
+files of the website.
+
+* Development environment
+
+The folling dependencies are needed to build the website
+
+ ikiwiki,
+ perl,
+ cpan Text::Markdown,
+ cpan Search::Xapian,
+ cpan YAML::Syck, and
+ Texinfo
+
+On Debian, do something like:
+
+#+BEGIN_EXAMPLE
+sudo apt-get install ikiwiki perl libtext-markdown-perl \
+ libsearch-xapian-perl libyaml-syck-perl texinfo
+#+END_EXAMPLE
+
+To setup a development environment for Guix, do:
+
+#+BEGIN_EXAMPLE
+guix shell ikiwiki perl perl-text-markdown perl-search-xapian perl-yaml-syck texinfo
+#+END_EXAMPLE
+
+* Running the website
+
+To try out the website locally while you work on it, run the following
+commands:
+
+#+BEGIN_EXAMPLE
+rm -rf ../web.rendered
+./render_locally
+#+END_EXAMPLE
+
+the website is built out of tree (!) in in [[file:~/src/hurd/web.rendered][../web.rendered]].