Skip to content

Commit

Permalink
Update installation instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
sbs20 committed Nov 4, 2017
1 parent 1a66356 commit 2dcf84d
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions install.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# installation

## SANE
## prerequisites
### SANE
Get [SANE installed and working](https://github.com/sbs20/scanserv/blob/master/install-sane.md) and
check permissions etc

## nodejs & npm
### nodejs & npm
Get nodejs and npm installed

e.g.
Expand All @@ -20,17 +21,15 @@ Note 2: Debian calls the node binary "nodejs", which results in npm not being ab
* `ln -s /usr/bin/nodejs /usr/bin/node`
* `sudo apt-get install nodejs-legacy`

See [run npm command gives error "/usr/bin/env: node: No such file or directory" #3911]
(https://github.com/nodejs/node-v0.x-archive/issues/3911#issuecomment-8956154) for more details.
See [run npm command gives error "/usr/bin/env: node: No such file or directory" #3911](https://github.com/nodejs/node-v0.x-archive/issues/3911#issuecomment-8956154) for more details.

## web app
Download the [latest release](https://github.com/sbs20/scanservjs/releases) and unzip.
## scanserv-js (the application)
Run the following:

e.g.
```
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
sudo ./scanservjs/install.sh
```

Then see [install](install.sh)
Or have a look at [other releases](https://github.com/sbs20/scanservjs/releases)

0 comments on commit 2dcf84d

Please sign in to comment.