ASPNET Core website that exposes features of the pi-dotnetcore library as a RESTful service.
- clone this repostory:
git clone https://github.com/arnolddustin/pi-service.git - configure your Raspberry Pi for running dotnet. full instructions can be found here.
- build the service and deploy it to the Raspberry Pi by running the publish script:
./publish.sh. The script builds the dotnetcore 2.0 app for the linux-arm platform then usesrsyncto copy the build output to a Pi listening at at the login/hostpi@raspberrypi.
- after
sshto the pi- change to the
pi-servicedirectory - start the service by running
sudo ./pi-service &