From 22b147f0eb00e6c0ebea50999bc6b0e6e4afcc5d Mon Sep 17 00:00:00 2001 From: Paolo Asperti Date: Wed, 29 Nov 2023 20:17:04 +0100 Subject: [PATCH] updated readme --- README.md | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3e319c8..e20ec38 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,32 @@ Libreschool website -## Development instructions ## +## Development instructions Clone repo with the command: - $ git clone --recurse-submodules ssh://git@git.libreschool.org:1022/LibreSchool/libreschool.org.git - $ cd libreschool.org - $ hugo serve +```sh +git clone --recurse-submodules ssh://git@git.libreschool.org:1022/LibreSchool/libreschool.org.git +cd libreschool.org +``` + +If you did clone this repo in the usual way, you probably missed the theme's git submodule. To download the missing submodule: + +```sh +cd libreschool.org +git submodule update --init +``` + +Then start the hugo live server: + +```sh +hugo serve +``` + +You can produce the complete website with: + +```sh +hugo +``` + +The complete website will be placed in the `public` directory.