mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 13:25:04 +00:00
Reformat the codeblocks in README.md
1. Remove the extra indent 2. Add `sh` language
This commit is contained in:
parent
47ce73553f
commit
c079d530e3
1 changed files with 8 additions and 8 deletions
|
@ -30,13 +30,13 @@ This program is written in highly portable ANSI C. The only external dependencie
|
||||||
|
|
||||||
On Debian/Ubuntu, you can satisfy these requirements by running
|
On Debian/Ubuntu, you can satisfy these requirements by running
|
||||||
|
|
||||||
```
|
```sh
|
||||||
apt install libssl-dev libcurl4-openssl-dev
|
apt install libssl-dev libcurl4-openssl-dev
|
||||||
```
|
```
|
||||||
|
|
||||||
On OpenBSD you just need to install `curl`:
|
On OpenBSD you just need to install `curl`:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
pkg_add curl
|
pkg_add curl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -44,7 +44,7 @@ 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
|
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
|
||||||
|
|
||||||
```
|
```sh
|
||||||
make CFLAGS=-DNO_MASTODON_API
|
make CFLAGS=-DNO_MASTODON_API
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -54,7 +54,7 @@ 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:
|
A `docker-compose` file is provided for development and testing. To start snac with an nginx HTTPS frontend, run:
|
||||||
|
|
||||||
```
|
```sh
|
||||||
docker-compose build && docker-compose up
|
docker-compose build && docker-compose up
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue