-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from hokus15/develop
Develop
- Loading branch information
Showing
8 changed files
with
71 additions
and
36 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
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
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
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
gps==3.19 | ||
gps3==0.33.3 | ||
obd==0.7.2 | ||
paho-mqtt==1.6.1 | ||
wrapt==1.16.0 | ||
|
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,2 @@ | ||
#!/bin/bash | ||
sudo cp /opt/IOTConnect/iotconnect/iotconnect.config.live.json /opt/IOTConnect/iotconnect/iotconnect.config.json |
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,3 @@ | ||
#!/bin/bash | ||
sudo service iotconnect stop | ||
sudo cp /opt/IOTConnect/iotconnect/iotconnect.config.devel.json /opt/IOTConnect/iotconnect/iotconnect.config.json |
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,17 @@ | ||
#!/bin/bash | ||
echo 'Stopping IOTConnect service...' | ||
sudo service iotconnect stop | ||
echo 'done!' | ||
cd /opt/IOTConnect | ||
tag=$(git describe --tags `git rev-list --tags --max-count=1`) | ||
echo "Updating IOTConnect to ${tag}..." | ||
git reset --hard | ||
git checkout master | ||
git branch --delete latest | ||
git checkout "$tag" -b latest | ||
echo 'done!' | ||
cp iotconnect/logging.live.conf iotconnect/logging.conf | ||
sudo systemctl daemon-reload | ||
echo 'Starting IOTConnect service...' | ||
sudo service iotconnect start | ||
echo 'done!' |