summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README20
-rwxr-xr-xdeploy.sh6
2 files changed, 26 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..b514922
--- /dev/null
+++ b/README
@@ -0,0 +1,20 @@
+# Rescribe blog
+
+This is the source for the Rescribe blog. It is built with Hugo,
+so all page content is in content/, and as a convention any image
+source files are stored in images/.
+
+## Submodules
+
+The theme for the website is stored as a git submodule. On checking
+out this repository, run these to fetch it:
+
+git submodule init
+git submodule update
+
+This is done so that we can keep our branch of the theme easily up
+to date with upstream.
+
+## Deploying
+
+deploy.sh builds and deploys the website.
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..bef36e4
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+d=`dirname "$0"`
+
+cd "$d" || exit 1
+hugo || exit 1
+echo rsync -avz public/* nwhite_rescribe@ssh.phx.nearlyfreespeech.net:blog.rescribe.xyz/