Improve metadata storage (#37)
* Updated config path to specify metadata storage path * Removed metadata column from DB, replacing it with filepath columns * Updated app to store compressed metadata; automatically download thumbnails * Ensured metadata is deleted when other files are deleted * Updated docs * Added inets to application start so http calls work in prod
This commit is contained in:
+2
-1
@@ -2,7 +2,8 @@ import Config
|
||||
|
||||
config :pinchflat,
|
||||
media_directory: Path.join([File.cwd!(), "tmp", "videos"]),
|
||||
metadata_directory: Path.join([File.cwd!(), "tmp", "metadata"])
|
||||
metadata_directory: Path.join([File.cwd!(), "tmp", "metadata"]),
|
||||
tmpfile_directory: Path.join([File.cwd!(), "tmp", "tmpfiles"])
|
||||
|
||||
# Configure your database
|
||||
config :pinchflat, Pinchflat.Repo,
|
||||
|
||||
Reference in New Issue
Block a user