neume-network / core

A socially-scalable music NFT indexer.
https://neume.network
GNU General Public License v3.0
26 stars 11 forks source link

DATA_DIR currently only accepts relative path; but we should make sure absolute paths are supported too #33

Closed TimDaub closed 2 years ago

TimDaub commented 2 years ago

E.g. in .env a user currently can't define an absolute path e.g. DATA_DIR=/home/username/datadir, it'll error.

TimDaub commented 2 years ago

Actually I'm not sure if this is truly a real issue.

If we consistently use resolve, passing an absolute path e.g. /tmp/data should "just work".

TimDaub commented 2 years ago

unassigned you @il3ven as it's been 27 days

TimDaub commented 2 years ago

yeah so I've tested this by actually storing the data dir on an entirely new dis /mnt/ssd and it worked