Explorar o código

Untrack nitter.conf, add nitter.example.conf

Closes #324
Zed %!s(int64=4) %!d(string=hai) anos
pai
achega
9eb7532bfa
Modificáronse 4 ficheiros con 4 adicións e 3 borrados
  1. 2 1
      .gitignore
  2. 1 1
      Dockerfile
  3. 1 1
      README.md
  4. 0 0
      nitter.example.conf

+ 2 - 1
.gitignore

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

+ 1 - 1
Dockerfile

@@ -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

+ 1 - 1
README.md

@@ -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

+ 0 - 0
nitter.conf → nitter.example.conf