From b37888ac3394edbd08c153cd26e5cb5914526ede Mon Sep 17 00:00:00 2001 From: x-rodubou <romuald.dubourg@kereval.com> Date: Fri, 10 Nov 2023 14:56:53 +0100 Subject: [PATCH] [Update] Update install without docker --- README.md | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index d6f727e..9d7e1bc 100755 --- a/README.md +++ b/README.md @@ -23,10 +23,10 @@ Document is then available at <http://localhost:1080/gazelle-documentation/> ### setup ```bash -sudo apt-get install make git git-svn texlive-xetex pandoc ruby-dev +sudo apt-get install make git git-svn texlive-xetex pandoc ruby-dev build-essential dh-autoreconf ``` -Then, from `gazelle-dev-documentation` folder run to install some more libs and required gems +Then, from `gazelle-dev-documentation` folder run to install some more libs and required gems ```bash make setup @@ -37,18 +37,22 @@ make setup make ``` -### Generate all the documents and start Jekyll (do not use in production) -```shell -make view -``` -### Generate the PDF version of the release note -```shell -make release-notes +### Add a gem in the bundle +```bash +cd target/jekyll-gazelle-documentation +sudo bundle add webrick +sudo bundle install + + ``` -Check target/ folder for results +### Generate all the documents and start Jekyll (do not use in production) +```bash +sudo bundle exec jekyll serve +``` +Once it is done you server must have been started on localhost:4000/gazelle-documentation/ ## Folder structure gazelle-documentation @@ -96,4 +100,3 @@ http://pandoc.org/ [Pandoc installation package](https://github.com/jgm/pandoc/releases/tag/1.17.2) -http://blog.cigrainger.com/2014/07/pandoc-markdown.html -- GitLab