Initialize Mk2

This commit is contained in:
Linus2punkt0
2024-01-19 23:33:39 +01:00
parent 480d759b37
commit 7fdfbbd03e
75 changed files with 3357 additions and 629 deletions

17
settings/paths.py Normal file
View File

@@ -0,0 +1,17 @@
# This file contains all necessary file and folder paths. Make sure to end folder paths with "/".
# base_path is the path from root to the lowest common denominator for all of the other paths.
# Using an absolute path is especially important if running via cron.
base_path = "./"
# Path to the database file. If you want it somewhere other than directly in the base path you can
# either write the entire path manually, or just add the rest of the path on top of the basePath.
database_path = base_path + "db/database.json"
# Path to the cache-file, which keeps track of recent posts, allowing you to limit posts per hours and
# retweet yourself
post_cache_path = base_path + "db/post.cache"
# Path to backup of database.
backup_path = base_path + "backup/" + "database.bak"
# Path for storing logs
log_path = base_path + "logs/"
# Path to folder for temporary storage of images
image_path = base_path + "images/"