2015-03-23 19:36:10 +00:00
|
|
|
# NAME
|
|
|
|
|
|
|
|
git-annex webapp - launch webapp
|
|
|
|
|
|
|
|
# SYNOPSIS
|
|
|
|
|
|
|
|
git annex webapp
|
|
|
|
|
|
|
|
# DESCRIPTION
|
|
|
|
|
|
|
|
Opens a web app, that allows easy setup of a git-annex repository,
|
|
|
|
and control of the git-annex assistant. If the assistant is not
|
2023-11-19 16:26:44 +00:00
|
|
|
already running, it will be started. This will cause new files to
|
|
|
|
be added and syncing operations to be performed.
|
2015-03-23 19:36:10 +00:00
|
|
|
|
|
|
|
By default, the webapp can only be accessed from localhost, and running
|
|
|
|
it opens a browser window.
|
|
|
|
|
|
|
|
# OPTIONS
|
|
|
|
|
|
|
|
* `--listen=address`
|
|
|
|
|
|
|
|
Useful for using the webapp on a remote computer. This makes the webapp
|
2024-01-25 18:08:36 +00:00
|
|
|
listen on the specified IP address. (Or on the address that a specified
|
|
|
|
hostname resolves to.)
|
2015-03-23 19:36:10 +00:00
|
|
|
|
|
|
|
This disables running a local web browser, and outputs the url you
|
|
|
|
can use to open the webapp.
|
|
|
|
|
|
|
|
Set annex.listen in the git config to make the webapp always
|
2024-01-18 16:58:00 +00:00
|
|
|
listen on an IP address.
|
2015-03-23 19:36:10 +00:00
|
|
|
|
2024-01-25 18:08:36 +00:00
|
|
|
* `--port=number`
|
|
|
|
|
|
|
|
Use this option to specify a port for the webapp.
|
|
|
|
By default, the webapp picks an unused port.
|
|
|
|
|
2021-05-10 19:00:13 +00:00
|
|
|
* Also the [[git-annex-common-options]](1) can be used.
|
|
|
|
|
2015-03-23 19:36:10 +00:00
|
|
|
# USING HTTPS
|
|
|
|
|
|
|
|
When using the webapp on a remote computer, you'll almost certainly
|
|
|
|
want to enable HTTPS. The webapp will use HTTPS if it finds
|
|
|
|
a .git/annex/privkey.pem and .git/annex/certificate.pem. Here's
|
|
|
|
one way to generate those files, using a self-signed certificate:
|
|
|
|
|
|
|
|
openssl genrsa -out .git/annex/privkey.pem 4096
|
|
|
|
openssl req -new -x509 -key .git/annex/privkey.pem > .git/annex/certificate.pem
|
|
|
|
|
|
|
|
# SEE ALSO
|
|
|
|
|
|
|
|
[[git-annex]](1)
|
|
|
|
|
2015-05-29 16:12:55 +00:00
|
|
|
[[git-annex-assistant]](1)
|
|
|
|
|
2015-03-23 19:36:10 +00:00
|
|
|
# AUTHOR
|
|
|
|
|
|
|
|
Joey Hess <id@joeyh.name>
|
|
|
|
|
|
|
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|