summaryrefslogtreecommitdiff
path: root/README.md
blob: 9269e51ac97009338c2a4c1a7d9c249f41ff07d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Photos Organizer

This is a tool to manage local digital photos imported from a camera.

## Usage

In nginx.conf:

```conf
    server {
        listen [::]:80;
        root /path/to/photos-organizer/web;
        index index.html;
        server_name photos.mydomain;
        location / {
            try_files $uri $uri/ =404;
        }
        location /api/ {
            proxy_pass http://photos.localhost:8081/;
        }
    }

```

In another shell:

```
stack build && ./run.sh
```