You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -12,18 +12,26 @@ Install through [npm](https://www.npmjs.com/):
12
12
Then run the installer, which asks for the directory to save your pictures to
13
13
and the server password:
14
14
15
-
photobackup init
15
+
photobackup init <name>
16
16
17
-
This step creates a `~/.photobackup` file which contains:
17
+
This step creates a `~/.photobackup` file which contains, for every name:
18
18
19
+
* BindAddress, the IP address (default is 127.0.0.1) ;
19
20
*`MediaRoot`, the directory where the pictures are written in ;
20
-
*`Password`, the SHA-512 hashed password ;
21
+
*`Password`, the SHA-512 hashed password (for backward compatibility only, will soon be totally replaced the following) ;
22
+
*`PasswordBcrypt`, Bcrypt-ed version of the SHA-512 hashed password ;
21
23
*`Port`, the port (default is 8420).
22
24
23
25
## Usage
24
26
25
27
Launch the server with:
26
28
27
-
photobackup run
29
+
photobackup run <name>
28
30
29
-
By default, it runs on host `0.0.0.0`, port `8420`.
31
+
By default, it runs on `127.0.0.1:8420`.
32
+
33
+
## What names are for?
34
+
35
+
Names allow you to run several PhotoBackup instances on a same server. All instances are configured in the same `~/.photobackup` file. If you want to run instances concurrently, you'll need to set a different port to each instance.
36
+
37
+
The `name` parameter in `init` and `run` commands is optional. Without it, you init and run the default instance.
0 commit comments