summaryrefslogtreecommitdiff
path: root/INSTALL
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-22 23:40:58 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-22 23:40:58 +0100
commit4a91388a6fb43a72d4402ba99b4445d4595552cb (patch)
tree7f44564a5cbaddeeea3f2e677d45ddc2c46fea16 /INSTALL
parent7fe53ee8dedb61ceee3452e7b26dabfd99d9b636 (diff)
downloadwww-4a91388a6fb43a72d4402ba99b4445d4595552cb.tar.gz
www-4a91388a6fb43a72d4402ba99b4445d4595552cb.tar.bz2
www-4a91388a6fb43a72d4402ba99b4445d4595552cb.zip
proper README
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL35
1 files changed, 35 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..a5c3bd7
--- /dev/null
+++ b/INSTALL
@@ -0,0 +1,35 @@
+Installation instructions
+-------------------------
+
+For Debian:
+===========
+
+Simply install:
+
+# apt-install python3-ruamel.yaml python3-jinja2 python3-babel git node-typescript
+
+Then invoke "bootstrap" and "configure". You must pass
+"--prefix=$P" and "--variant=$V" for some values of
+$P and $V to configure. The actual Web site
+will be installed at $P/$V.
+
+
+For NetBSD:
+===========
+
+Install python3.7, py37-babel, npm, nodejs from pkgsrc.
+
+Adjust the values in config.mk:
+
+ PYTHON=python3.7
+ BABEL=pybabel-3.7
+
+npm install typescript
+Add the node_module's bin to your $PATH for the typescript binary.
+make submodules/init
+make submodules/update
+make
+
+If you installed typescript in $HOME:
+PATH=$HOME/node_modules/.bin/:$PATH env BROWSER=firefox make run
+to run the website