From 08f8acb448bc7e47a921dbe03a3f094056a23473 Mon Sep 17 00:00:00 2001 From: Jonas Winkler Date: Mon, 26 Oct 2020 12:03:19 +0100 Subject: [PATCH] datadirectory --- .gitignore | 19 +++++++------------ .../originals => data/documents}/.keep | 0 .../documents/thumbnails => data/index}/.keep | 0 models/.keep | 0 4 files changed, 7 insertions(+), 12 deletions(-) rename {media/documents/originals => data/documents}/.keep (100%) rename {media/documents/thumbnails => data/index}/.keep (100%) delete mode 100644 models/.keep diff --git a/.gitignore b/.gitignore index aab3254d1..2babef47d 100644 --- a/.gitignore +++ b/.gitignore @@ -57,16 +57,6 @@ docs/_build/ # PyBuilder target/ -# Stored PDFs -media/documents/*.gpg -media/documents/thumbnails/* -media/documents/originals/* -media/overrides.css -media/overrides.js - -# Sqlite database -db.sqlite3 -db.sqlite3-journal # PyCharm .idea @@ -85,7 +75,12 @@ scripts/nuke # Static files collected by the collectstatic command static/ -# Classification Models -models/ +# Stored PDFs +/data/documents/* +/data/thumbnails/* +/data/classification_model.pickle +/data/db.sqlite3 +/data/index /paperless.conf +/consumption/ diff --git a/media/documents/originals/.keep b/data/documents/.keep similarity index 100% rename from media/documents/originals/.keep rename to data/documents/.keep diff --git a/media/documents/thumbnails/.keep b/data/index/.keep similarity index 100% rename from media/documents/thumbnails/.keep rename to data/index/.keep diff --git a/models/.keep b/models/.keep deleted file mode 100644 index e69de29bb..000000000