parent
3259223c9c
commit
9eb7532bfa
4 changed files with 4 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -3,6 +3,7 @@ nitter
|
||||||
*.db
|
*.db
|
||||||
/tests/__pycache__
|
/tests/__pycache__
|
||||||
/tests/geckodriver.log
|
/tests/geckodriver.log
|
||||||
/tmp
|
/tests/downloaded_files/*
|
||||||
/tools/gencss
|
/tools/gencss
|
||||||
/public/css/style.css
|
/public/css/style.css
|
||||||
|
nitter.conf
|
||||||
|
|
|
@ -14,6 +14,6 @@ RUN nimble build -y -d:release --passC:"-flto" --passL:"-flto" \
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
WORKDIR /src/
|
WORKDIR /src/
|
||||||
RUN apk --no-cache add pcre sqlite
|
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
|
COPY --from=nim /src/nitter/public ./public
|
||||||
CMD ./nitter
|
CMD ./nitter
|
||||||
|
|
|
@ -89,7 +89,7 @@ $ git clone https://github.com/zedeus/nitter
|
||||||
$ cd nitter
|
$ cd nitter
|
||||||
$ nimble build -d:release
|
$ nimble build -d:release
|
||||||
$ nimble scss
|
$ nimble scss
|
||||||
$ mkdir ./tmp
|
$ cp nitter.example.conf nitter.conf
|
||||||
```
|
```
|
||||||
|
|
||||||
Set your hostname, port, HMAC key, https (must be correct for cookies), and
|
Set your hostname, port, HMAC key, https (must be correct for cookies), and
|
||||||
|
|
Loading…
Reference in a new issue