Skip to content

Commit

Permalink
upd readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tariel-x committed Jan 14, 2021
1 parent fedbe16 commit 8a1a49f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 106 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,25 @@ Scan is the frontend for SANE built with golang and svelte.
Features:

- List connected scanners.
- Configure the selected scanner.
- Scan image from the selected scanner.

## Build & run

Install libsane-dev, e.g. for Ubuntu:

```shell
sudo apt install -y libsane-dev
```

Build and run service:

```bash
go build -o scan ./cmd/scan
LISTEN=0.0.0.0:8085 ./scan
```
```

## Environment variables

- `DEBUG` enables debug log level and text format for logs.
- `LISTEN` is the interface to listen for.
105 changes: 0 additions & 105 deletions web/README.md

This file was deleted.

0 comments on commit 8a1a49f

Please sign in to comment.