fix: Allow mnesia to work for tests & server

This commit is contained in:
Robert Prehn 2021-05-21 22:19:52 -05:00
parent 4406c990e6
commit ed89c9ef2c
3 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View file

@ -34,7 +34,8 @@ node_modules
/priv/static/
# Mnesia DBs
apps/*/priv/mnesia/
/apps/*/priv/mnesia/
/priv/mnesia/
# Lock file for Brew, since the versions aren't really stable & isolated anyway
Brewfile.lock.json

View file

@ -74,7 +74,7 @@ config :app,
crontab: [
]
config :mnesia, dir: to_charlist(File.cwd!) ++ '/apps/core/priv/mnesia'
config :mnesia, dir: to_charlist(Path.expand("./priv/mnesia"))
import_config "email_styles.exs"
import_config "admin.exs"

0
priv/.keep Normal file
View file