From 32521a3fc5a65c34711a33e68093750ff3f9d5cb Mon Sep 17 00:00:00 2001 From: "http://joeyh.name/" Date: Thu, 17 Apr 2014 20:48:56 +0000 Subject: [PATCH] Added a comment --- ..._3_f7826867f78b1adbfc2dad2fad4d6720._comment | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 doc/forum/Starting_assistant_from_CLI/comment_3_f7826867f78b1adbfc2dad2fad4d6720._comment diff --git a/doc/forum/Starting_assistant_from_CLI/comment_3_f7826867f78b1adbfc2dad2fad4d6720._comment b/doc/forum/Starting_assistant_from_CLI/comment_3_f7826867f78b1adbfc2dad2fad4d6720._comment new file mode 100644 index 0000000000..fbe70c4038 --- /dev/null +++ b/doc/forum/Starting_assistant_from_CLI/comment_3_f7826867f78b1adbfc2dad2fad4d6720._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="http://joeyh.name/" + ip="209.250.56.191" + subject="comment 3" + date="2014-04-17T20:48:56Z" + content=""" +Yes, the webapp is supposed to be able to be started from anywhere. + +1. If you make a git annex repository and run `git annex webapp` from inside it, it'll start up the webapp on that repository. +2. If `~/.config/git-annex/autostart` lists some git repositories, the webapp will start up in the first listed one. +3. Otherwise, the webapp will walk you through making a new repository. + +Most likely problem then is #2. If you used the webapp once, say in ~/annex and then deleted ~/annex/.git directory, it would try to start up in ~/annex, but it's no longer a git repository so it cannot start. This was a bug, so I've fixed it. +You could work around that problem by deleting `~/.config/git-annex/autostart` too. + +If it's some other problem, you can work around it by going the #1 route and making a git repository by hand (\"git init annex; cd annex; git annex init\") and running the webapp in there. +"""]]