summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README17
1 files changed, 16 insertions, 1 deletions
diff --git a/README b/README
index b7fcae4..5689b44 100644
--- a/README
+++ b/README
@@ -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").