From 409ea0e5857acffe36ebc977bdce843f994a00aa Mon Sep 17 00:00:00 2001 From: Magnus Ahltorp Date: Sun, 28 Sep 2014 02:11:12 +0200 Subject: Remove reference to creating database. Remove mnesia. --- README | 25 ++----------------------- ebin/plop.app | 2 +- 2 files changed, 3 insertions(+), 24 deletions(-) diff --git a/README b/README index 5d26ec6..d315080 100644 --- a/README +++ b/README @@ -8,31 +8,10 @@ Requires Erlang/OTP 17 [erts-6.0] or later. Compile the application - $ erl -make - -Start the application locally - - Very first time, before there is a database: - $ erl -boot start_sasl -pa ebin -eval "plop_app:install([node()])."xo - There should now exist a directory Mnesia.nonode@nohost/ with four - files in it. - - Start the application: - $ erl -boot start_sasl -pa ebin \ - -eval "application:start(mnesia), application:start(plop)." - - FIXME: mnesia isn't starting automagically, why? - TODO: -plop Keyfile "test/rsakey.pem" -plop Passphrase "sikrit" + $ make Test the application [FIXME] -Moving the database files - - Add `-mnesia dir "/some/path"' to the list of arguments to erl. - -Debugging - - Dump the database to a file: - 1> db:dump_to_file("dump.txt"). +TODO: -plop Keyfile "test/rsakey.pem" -plop Passphrase "sikrit" diff --git a/ebin/plop.app b/ebin/plop.app index d017331..a2a0dd4 100644 --- a/ebin/plop.app +++ b/ebin/plop.app @@ -6,7 +6,7 @@ [{description, "The plop store"}, {vsn, "0.2.0-dev"}, {modules, [plop_app, plop_sup, plop, db, ht, hex]}, - {applications, [kernel, stdlib, mnesia]}, % crypto, public_key + {applications, [kernel, stdlib]}, % crypto, public_key {registered, [plop, ht, db]}, {mod, {plop_app, ["test/eckey.pem", "test/eckey-public.pem"]}} ]}. -- cgit v1.1