summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrunfink <grunfink@noreply.codeberg.org>2023-05-13 15:46:02 +0000
committergrunfink <grunfink@noreply.codeberg.org>2023-05-13 15:46:02 +0000
commit08e43f2093b58dc4b44470fd3de268337855aed9 (patch)
treed0aa26b23cf95ddbd2739e79abc6fa11e88529a4
parent47ce73553fda4495755e6a124480f18fb48686fc (diff)
parentc079d530e33c0e354e2f0345381c50b26dd36593 (diff)
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
-rw-r--r--README.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/README.md b/README.md
index 3f4978d..11c1fae 100644
--- a/README.md
+++ b/README.md
@@ -30,22 +30,22 @@ This program is written in highly portable ANSI C. The only external dependencie
On Debian/Ubuntu, you can satisfy these requirements by running
-```
- apt install libssl-dev libcurl4-openssl-dev
+```sh
+apt install libssl-dev libcurl4-openssl-dev
```
On OpenBSD you just need to install `curl`:
-```
- pkg_add curl
+```sh
+pkg_add curl
```
Run `make` and then `make install` as root.
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
-```
- make CFLAGS=-DNO_MASTODON_API
+```sh
+make CFLAGS=-DNO_MASTODON_API
```
See the administrator manual on how to proceed from here.
@@ -54,8 +54,8 @@ See the administrator manual on how to proceed from here.
A `docker-compose` file is provided for development and testing. To start snac with an nginx HTTPS frontend, run:
-```
- docker-compose build && docker-compose up
+```sh
+docker-compose build && docker-compose up
```
This will: