-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from pcnate/readme
Readme
- Loading branch information
Showing
3 changed files
with
13 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,18 @@ | ||
# raspberry-pi-camera | ||
nodejs camera application to connect to server via socket.io | ||
nodejs camera application to upload images to server | ||
|
||
Server software https://github.com/pcnate/raspberry-pi-camera-server | ||
|
||
# basic setup on raspberry pi | ||
# Standalone Install | ||
|
||
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | ||
sudo apt-get install -y nodejs build-essential | ||
|
||
git clone https://github.com/pcnate/raspberry-pi-camera.git | ||
1) setup a server | ||
2) `npm install -g @pcnate/raspberry-pi-camera` | ||
3) enter url to upload to | ||
4) leave GUID blank | ||
5) leave image path alone, (stores in RAM to save SD card) | ||
|
||
npm update | ||
npm install | ||
|
||
node configure.js | ||
# Automatic startup with pm2 | ||
|
||
|
||
# Installing nodejs | ||
|
||
``` | ||
-#! /bin/bash | ||
- | ||
-# source: https://nodejs.org/en/download/package-manager/#debian-and-ubuntu-based-linux-distributions | ||
- | ||
-curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash - | ||
-sudo apt-get install -y nodejs build-essential | ||
- | ||
- | ||
-node -v | ||
-npm -v | ||
- | ||
-npm cache clean -f | ||
-npm install -g n | ||
-sudo n stable | ||
- | ||
-echo 'now exit and reconnect and run node -v && npm -v' | ||
``` | ||
1) `npm install -g pm2` | ||
2) `pm2 startup` | ||
3) `pm2 install @pcnate/raspberry-pi-camera` |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters