summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2014-05-01 17:59:57 +0200
committerLinus Nordberg <linus@nordu.net>2014-05-01 17:59:57 +0200
commit45af3bf634d8c87d6ef162e1d25ad960b3c7c659 (patch)
tree309756c2bd6aab3a1cf8cd4dd30eb4d3bbd7388f
parent26680ea5608d2b21f90540f707379d1bddea589c (diff)
More in README.
-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").