diff options
author | Omar Polo <op@omarpolo.com> | 2021-10-04 12:57:46 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-10-04 12:57:46 +0000 |
commit | 9212cf1ba9487a66662df76b95591187dface70f (patch) | |
tree | 300fd8c9fae012530afb3cbe679e3b0272dd152f /site | |
parent | eb82dcfbf4a4013f0ad3ba359c32c79c87953e25 (diff) |
[gemini] tweak the contrib page
I find it more readable with some empty lines here and there
Diffstat (limited to 'site')
-rw-r--r-- | site/contrib.gmi | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/site/contrib.gmi b/site/contrib.gmi index fa0772f..6fcefd0 100644 --- a/site/contrib.gmi +++ b/site/contrib.gmi @@ -15,7 +15,9 @@ To build the image: ```instructions to build the image # docker build -f contrib/Dockerfile -t gmid . ``` + and then run it with something along the lines of: + ```instruction to run the image # docker run --rm -it -p 1965:1965 \ -v gmid.conf:/etc/gmid.conf:ro \ @@ -29,9 +31,11 @@ and then run it with something along the lines of: => https://git.omarpolo.com/gmid/tree/contrib/gmid contrib/gmid contrib/gmid is a sample service file for OpenBSD rc(8). To install it: + ```command to install the rc file # cp contrib/gmid /etc/rc.d ``` + then the usual ‘rcctl [start|stop|enable|restart] gmid’ are available. ## Systemd unit file @@ -39,9 +43,11 @@ then the usual ‘rcctl [start|stop|enable|restart] gmid’ are available. => https://git.omarpolo.com/gmid/tree/contrib/gmid.service gmid.service A simple service file for systemd. To install it + ```instructions to install the system file # cp contrib/gmid.service /lib/systemd/system/gmid.service ``` + then the usual ‘systemctl [status|start|enable|stop] gmid’ commands can be used to manage the server. Some things to keep in mind: @@ -63,12 +69,14 @@ Some things to keep in mind: => https://git.omarpolo.com/gmid/tree/contrib/vim contrib/vim contrib/vim contains a syntax highlighting for vim. To install it, just copy the files to ~/.vim or to /usr/share/vim/vimfiles, e.g.: + ```install the vim syntax highlight in your home $ mkdir -p ~/.vim $ cp -R contrib/vim/* ~/.vim/ ``` To enable Syntastic checker, add to your vimrc: + ``` let g:syntastic_gmid_checkers = ['gmid'] ``` |