Add more readme headers
This commit is contained in:
parent
38df06e8f5
commit
0e01ecb001
|
@ -100,7 +100,9 @@ using the systemd service below. You should run Nitter behind a reverse proxy
|
||||||
such as [Nginx](https://github.com/zedeus/nitter/wiki/Nginx) or Apache for
|
such as [Nginx](https://github.com/zedeus/nitter/wiki/Nginx) or Apache for
|
||||||
security reasons.
|
security reasons.
|
||||||
|
|
||||||
To run Nitter with docker, you will need to install Redis before you run these commands.
|
### Docker
|
||||||
|
|
||||||
|
To run Nitter with Docker, you'll need to install Redis before you run these commands.
|
||||||
|
|
||||||
To build and run Nitter in Docker:
|
To build and run Nitter in Docker:
|
||||||
```bash
|
```bash
|
||||||
|
@ -121,6 +123,8 @@ docker-compose up -d
|
||||||
|
|
||||||
Note the Docker commands expect a `nitter.conf` file in the directory you run them.
|
Note the Docker commands expect a `nitter.conf` file in the directory you run them.
|
||||||
|
|
||||||
|
### systemd
|
||||||
|
|
||||||
To run Nitter via systemd you can use this service file:
|
To run Nitter via systemd you can use this service file:
|
||||||
|
|
||||||
```ini
|
```ini
|
||||||
|
@ -150,6 +154,8 @@ WantedBy=multi-user.target
|
||||||
Then enable and run the service:
|
Then enable and run the service:
|
||||||
`systemctl enable --now nitter.service`
|
`systemctl enable --now nitter.service`
|
||||||
|
|
||||||
|
### Logging
|
||||||
|
|
||||||
Nitter currently prints some errors to stdout, and there is no real logging
|
Nitter currently prints some errors to stdout, and there is no real logging
|
||||||
implemented. If you're running Nitter with systemd, you can check stdout like
|
implemented. If you're running Nitter with systemd, you can check stdout like
|
||||||
this: `journalctl -u nitter.service` (add `--follow` to see just the last 15
|
this: `journalctl -u nitter.service` (add `--follow` to see just the last 15
|
||||||
|
|
Loading…
Reference in New Issue