commit 08e43f2

grunfink  ·  2023-05-13 15:46:02 +0000 UTC
parents 47ce735, c079d53
Merge pull request 'Reformat the codeblocks in README.md' (#35) from bouncepaw/snac2:master into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/35
1 files changed,  +8, -8
+8, -8
 1@@ -30,22 +30,22 @@ This program is written in highly portable ANSI C. The only external dependencie
 2 
 3 On Debian/Ubuntu, you can satisfy these requirements by running
 4 
 5-```
 6-    apt install libssl-dev libcurl4-openssl-dev
 7+```sh
 8+apt install libssl-dev libcurl4-openssl-dev
 9 ```
10 
11 On OpenBSD you just need to install `curl`:
12 
13-```
14-    pkg_add curl
15+```sh
16+pkg_add curl
17 ```
18 
19 Run `make` and then `make install` as root.
20 
21 From version 2.27, `snac` includes support for the Mastodon API; if you are not interested on it, you can compile it out by running
22 
23-```
24-    make CFLAGS=-DNO_MASTODON_API
25+```sh
26+make CFLAGS=-DNO_MASTODON_API
27 ```
28 
29 See the administrator manual on how to proceed from here.
30@@ -54,8 +54,8 @@ See the administrator manual on how to proceed from here.
31 
32 A `docker-compose` file is provided for development and testing. To start snac with an nginx HTTPS frontend, run:
33 
34-```
35-    docker-compose build && docker-compose up
36+```sh
37+docker-compose build && docker-compose up
38 ```
39 
40 This will: