PiBakeAPI version 2 beta Non-Sensical Edition
Before, we used the SSH technology to get temperatures from the Raspberry Pi to our server. It looks good on paper but in practice, we knew there was some flaws. After the project was done, this repository was not touched. Until now!
This piece of software is a RESTful API that sits on some server and hands out and takes in requests as any other RESTful API would. This would supersede the original RESTful API but it was never completed. That API was built in PHP and is right here. Nothing really happened to it, unfortunately.
Please note that this software is in a beta state as of now. I would like to have in a stable state some time in future!
If you have Go installed, run the following:
go get github.com/pibake/PiBakeAPIv2
If you do not have godep
installed, please install it here. godep
is our dependency manager for this project.
Once you godep
installed or you have it installed already, please run the following to install all of the dependencies needed for the project:
dep ensure
Then, navigate to that directory and run the following:
go install
Given that you have your $GOPATH
set and it is already in your $PATH
, it should be in your path.
Given that you have your $GOPATH
and it is already in your $PATH
, run the following:
PiBakeAPIv2
If you would like to do something while the API is up, I would advise you to run tmux
or screen
as it doesn't
give a prompt back.
If need help setting your $GOPATH
, check this out if you need help understanding $GOPATH
.
In terms of running the program is concerned, it shouldn't crash. If it happens to crash, email me!
If you found a bug, please file an issue!
Please read contributing file if you are interested in contributing!