From bb8c0103e3f8b5b73f76b5068c986e029eec665d Mon Sep 17 00:00:00 2001 From: Damian Mee Date: Tue, 6 Nov 2018 19:36:09 +0700 Subject: [PATCH] add deploy docs --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 96a16fc..d33d70d 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,20 @@ Usage [here]: https://github.com/lncm/ideas/issues/5#issuecomment-416109283 - Enjoy! +Deployment +--- + +To deploy the binary to your Raspberry Pi, run (replacing all values with ones specific to your setup): + +```bash +$ make deploy REMOTE_USER=root REMOTE_HOST=pi-hdd REMOTE_DIR=/home/ln/bin/ +``` + +If you want to expose tips page (`common/index.html`), make sure to expose port `:1666` on your firewall. The page will be located at path root. + + Development --- All contributions are welcome.