Browse Source

Added missing instruction.

master
Franco Masotti 1 year ago
parent
commit
87536c1d2f
Signed by: frnmst
GPG Key ID: 24116ED85666780A
  1. 10
      _posts/2021-02-17-new-hosting.md

10
_posts/2021-02-17-new-hosting.md

@ -1,7 +1,7 @@
---
title: A new hosting for this blog
tags: [hosting, jekyll, blog, gitlab]
updated: 2021-02-17 20:05
updated: 2021-02-17 20:23
description: This blog is now self-hosted
---
@ -74,14 +74,16 @@ exit
Moreover, before running that git hook:
1. install ruby: `apt-get install ruby ruby-dev`
2. login as the deploy user
3. add this to its `~/.profile`:
2. add the deploy user to the webserver running group. The deploy user must have
access to the destination directory
3. login as the deploy user
4. add this to its `~/.profile`:
```shell
export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export PATH="$PATH:$GEM_HOME/bin"
```
4. install bundle: `gem install bundle`
5. install bundle: `gem install bundle`
That's it.

Loading…
Cancel
Save