-
ssh into the Raspberry pi and install nvm and the latest nodejs. Make note of the node version.
-
Clone the project as a bare repo.
By default it's assumed your git project folder is
~/git/ethercam.gitgit clone --bare git://theproject.git -
Create a folder for the actual built project to live
By default it's assumed your built project folder is
~/projects/ethercam -
Add the
hooks/post-receivefile from this project to~/git/ethercam.git/hooks/This will make it so that pushing to this repo will automatically check it out in the
projectsfolder and build it. -
Add the
systemd/nodeserver.servicefile from this project to/etc/systemd/system/, making sure to change the node version number and location in theExecStartsection if neededThis starts up the node project as soon as the pi boots
-
Make the file executable with
sudo chmod +x /etc/systemd/system/nodeserver.service -
Enable the systemd service with
sudo systemctl enable nodeserver
forked from noman-land/ethercam
-
Notifications
You must be signed in to change notification settings - Fork 0
lalax-systems/ethercam
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Fully public Ethereum enabled battery powered Raspberry Pi IoT photo camera.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- JavaScript 63.2%
- Solidity 35.6%
- Shell 1.2%