diff options
author | Linus Nordberg <linus@nordu.net> | 2014-05-01 17:59:57 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2014-05-01 17:59:57 +0200 |
commit | 45af3bf634d8c87d6ef162e1d25ad960b3c7c659 (patch) | |
tree | 309756c2bd6aab3a1cf8cd4dd30eb4d3bbd7388f /README | |
parent | 26680ea5608d2b21f90540f707379d1bddea589c (diff) |
More in README.
Diffstat (limited to 'README')
-rw-r--r-- | README | 17 |
1 files changed, 16 insertions, 1 deletions
@@ -12,8 +12,23 @@ Compile the application Start the application locally - $ erl -boot start_sasl -pa ebin -eval "application:start(plop)." -plop Keyfile "src/test/rsakey.pem" -plop Passphrase "sikrit" + Very first time, before there is a database: + $ erl -boot start_sasl -pa ebin -eval "plop_app:install([node()])." + There should now exist a directory Mnesia.nonode@nohost/ with four + files in it. + + Start the application: + $ erl -boot start_sasl -pa ebin \ + -eval "mnesia:start(), application:start(plop)." + + FIXME: mnesia isn't starting automagically, why? + TODO: -plop Keyfile "test/rsakey.pem" -plop Passphrase "sikrit" Test the application [FIXME] + +Debugging + + Dump the database to a file: + 1> db:dump_to_file("dump.txt"). |