Added support for Mnesia. See gamedb_usage.txt for further instructions.
This commit is contained in:
parent
265f7242a0
commit
0590fa6ca1
6 changed files with 49 additions and 0 deletions
12
Mnesia/gamedb_usage.txt
Normal file
12
Mnesia/gamedb_usage.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
1. From terminal: erl -mnesia dir '"/home/user/dir/to/GGS/GameDB.Player"'
|
||||
2. mnesia:create_schema([node()]).
|
||||
3. mnesia:start().
|
||||
4. c(gamedb).
|
||||
5. gamedb:init().
|
||||
6. mnesia:info().
|
||||
7. gamedb:test_player().
|
||||
|
||||
Last output should be:
|
||||
Player name: Tux
|
||||
{atomic,ok}
|
||||
|
Reference in a new issue