Skip to content

Commit

Permalink
Merge pull request #58 from sbs20/development-v2
Browse files Browse the repository at this point in the history
Development v2
  • Loading branch information
sbs20 authored Sep 13, 2020
2 parents 97a2b5a + 3c5d83c commit 123ec27
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 3 deletions.
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,13 @@ Copyright 2016 [Sam Strachan](https://github.com/sbs20)

## Installation notes
For an easy docker-based install (assuming that SANE supports your scanner
out-of-the-box on Debian):
out-of-the-box on Debian) use the following commands. Please note that by
default, configuration and scanned images are stored within the container and
will be lost if you recreate it. If you want to map your scanned images then
specify the volume mapping option `-v /local/path/:/app/data/output/`

```console
docker pull sbs20/scanservjs:latest
docker rm --force scanservjs-container 2> /dev/null
docker run -d -p 8080:8080 --restart unless-stopped --name scanservjs-container --privileged sbs20/scanservjs:latest
```
Expand All @@ -27,10 +31,19 @@ allow it to talk to the scanner)

scanservjs will now be accessible from `http://$host:8080/`

If you want to install the latest staging branch (this may contain newer code)

```console
docker pull sbs20/scanservjs:staging
docker rm --force scanservjs-container 2> /dev/null
docker run -d -p 8080:8080 --restart unless-stopped --name scanservjs-container --privileged sbs20/scanservjs:staging
```

More installation options:

* Manual installation notes [here](docs/install.md)
* [development notes](development.md)
* [Development notes](docs/development.md)
* [Configuring the scanner and SANE](docs/sane.md)

## Why?
This is yet another scanimage-web-front-end. Why? It originally started as an
Expand Down
3 changes: 2 additions & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ manually.
```
sudo apt install -y nodejs npm sane-utils imagemagick curl
wget -O ~/scanservjs.tar.gz $(curl -s https://api.github.com/repos/sbs20/scanservjs/releases/latest | grep browser_download_url | cut -d '"' -f 4)
tar -xf scanservjs.tar.gz
mkdir scanservjs
tar -xf scanservjs.tar.gz -C ./scanservjs/
sudo ./scanservjs/install.sh
rm scanservjs.tar.gz
rm -r scanservjs
Expand Down
Binary file modified docs/screen0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 123ec27

Please sign in to comment.