From 3c42df10107e4ab7687de1fa68c7141264717c13 Mon Sep 17 00:00:00 2001 From: "Kai T. Ohlhus" Date: Sat, 8 Jun 2024 20:54:26 +0900 Subject: [PATCH] README.md: update --- README.md | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f39f152..852822d 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,25 @@ The development and deployment workflow in short: 2. Static HTML pages are generated from these repositories and deployed at - (Digital Ocean) - - (GitHub Pages) - -3. The deployment to GitHub Pages happens automatically by pushing to the - respective repository. The deployment on Digital Ocean has to be done manually. - + - (GitHub Pages for testing) + +3. For testing changes, + updates to GitHub Pages happen automatically by pushing to the respective repository. + +4. The deployment on Digital Ocean has to be done manually. + 1. Login to the Digital Ocean server with root permissions. + 2. ``` + cd /var/www/www.octave.org/ + rvm use 3.3.1 + git pull + bundle install + bundle exec jekyll build + chown -R root:www-data * + chown -R root:www-data .* + ``` + 3. Changes are now live on . + The static website is build to the `/var/www/www.octave.org/_site` directory + and served from there to . ## Simple website changes / contributions