Untrack nitter.conf, add nitter.example.conf

Closes #324
This commit is contained in:
Zed 2021-12-27 03:13:40 +01:00
parent 3259223c9c
commit 9eb7532bfa
4 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View file

@ -3,6 +3,7 @@ nitter
*.db
/tests/__pycache__
/tests/geckodriver.log
/tmp
/tests/downloaded_files/*
/tools/gencss
/public/css/style.css
nitter.conf

View file

@ -14,6 +14,6 @@ RUN nimble build -y -d:release --passC:"-flto" --passL:"-flto" \
FROM alpine:latest
WORKDIR /src/
RUN apk --no-cache add pcre sqlite
COPY --from=nim /src/nitter/nitter /src/nitter/nitter.conf ./
COPY --from=nim /src/nitter/nitter /src/nitter/nitter.example.conf ./nitter.conf
COPY --from=nim /src/nitter/public ./public
CMD ./nitter

View file

@ -89,7 +89,7 @@ $ git clone https://github.com/zedeus/nitter
$ cd nitter
$ nimble build -d:release
$ nimble scss
$ mkdir ./tmp
$ cp nitter.example.conf nitter.conf
```
Set your hostname, port, HMAC key, https (must be correct for cookies), and