fix: Allow mnesia to work for tests & server
This commit is contained in:
parent
4406c990e6
commit
ed89c9ef2c
3 changed files with 3 additions and 2 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -34,7 +34,8 @@ node_modules
|
||||||
/priv/static/
|
/priv/static/
|
||||||
|
|
||||||
# Mnesia DBs
|
# Mnesia DBs
|
||||||
apps/*/priv/mnesia/
|
/apps/*/priv/mnesia/
|
||||||
|
/priv/mnesia/
|
||||||
|
|
||||||
# Lock file for Brew, since the versions aren't really stable & isolated anyway
|
# Lock file for Brew, since the versions aren't really stable & isolated anyway
|
||||||
Brewfile.lock.json
|
Brewfile.lock.json
|
||||||
|
|
|
@ -74,7 +74,7 @@ config :app,
|
||||||
crontab: [
|
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 "email_styles.exs"
|
||||||
import_config "admin.exs"
|
import_config "admin.exs"
|
||||||
|
|
0
priv/.keep
Normal file
0
priv/.keep
Normal file
Loading…
Reference in a new issue