File: comment_3_f7826867f78b1adbfc2dad2fad4d6720._comment

package info (click to toggle)
git-annex 10.20230126-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 69,344 kB
  • sloc: haskell: 74,654; javascript: 9,103; sh: 1,304; makefile: 203; perl: 136; ansic: 44
file content (17 lines) | stat: -rw-r--r-- 1,051 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.
"""]]