-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added upload scipt for windows users
- Loading branch information
1 parent
fae30ea
commit 808abb2
Showing
1 changed file
with
31 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
echo off | ||
|
||
set rpiip=%1 | ||
|
||
echo "Upload GoBox to your Raypberry Pi" | ||
echo "Raspberry PI IP-Address: %rpiip%" | ||
echo "-----------------------------------" | ||
|
||
echo "Upload GoBox service (init.d)" | ||
pscp -r ./initscript/gobox.sh root@%rpiip%:/etc/init.d/gobox | ||
|
||
echo "Upload GoBox config" | ||
pscp -r ./conf/ root@%rpiip%:/usr/local/gobox/ | ||
|
||
echo "Upload GoBox views" | ||
pscp -r ./views/ root@%rpiip%:/usr/local/gobox/ | ||
|
||
echo "Upload GoBox static files" | ||
pscp -r ./static/ root@%rpiip%:/usr/local/gobox/ | ||
|
||
echo "Upload GoBox export folder" | ||
pscp -r ./export/ root@%rpiip%:/usr/local/gobox/ | ||
|
||
echo "Upload GoBox tmp folder" | ||
pscp -r ./tmp/ root@%rpiip%:/usr/local/gobox/ | ||
|
||
echo "Upload GoBox binary" | ||
pscp ./cmd/gobox/gobox_arm root@%rpiip%:/usr/local/bin/gobox | ||
|
||
echo "Upload GoBox sensD binary" | ||
pscp ./cmd/sensd/sensd_arm root@%rpiip%:/usr/local/bin/sensd |