diff --git a/.gitignore b/.gitignore index 6224090..967cc65 100644 --- a/.gitignore +++ b/.gitignore @@ -3,6 +3,7 @@ nitter *.db /tests/__pycache__ /tests/geckodriver.log -/tmp +/tests/downloaded_files/* /tools/gencss /public/css/style.css +nitter.conf diff --git a/Dockerfile b/Dockerfile index ee44e32..6c8bc21 100644 --- a/Dockerfile +++ b/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 diff --git a/README.md b/README.md index e90e58d..6ad063b 100644 --- a/README.md +++ b/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 diff --git a/nitter.conf b/nitter.example.conf similarity index 100% rename from nitter.conf rename to nitter.example.conf