mirror of
https://github.com/zedeus/nitter.git
synced 2024-12-22 17:45:37 +00:00
parent
3259223c9c
commit
9eb7532bfa
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,6 +3,7 @@ nitter
|
|||
*.db
|
||||
/tests/__pycache__
|
||||
/tests/geckodriver.log
|
||||
/tmp
|
||||
/tests/downloaded_files/*
|
||||
/tools/gencss
|
||||
/public/css/style.css
|
||||
nitter.conf
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue