diff options
-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"). |