2017-08-13 12:03:13 +00:00
|
|
|
# ttnhabbridge
|
2021-10-21 19:38:15 +00:00
|
|
|
Bridge between TheThingsNetwork/Helium and the habitat network,
|
|
|
|
to receive telemetry from amateur balloons using LoRaWAN
|
2017-08-13 12:38:03 +00:00
|
|
|
|
2017-08-24 23:07:53 +00:00
|
|
|
See https://revspace.nl/TTNHABBridge for a more detailed description of this project.
|
|
|
|
See https://travis-ci.org/bertrik/ttnhabbridge for the Travis CI status
|
|
|
|
|
2017-08-13 12:49:48 +00:00
|
|
|
# Development environment
|
2021-10-21 19:38:15 +00:00
|
|
|
I develop this on in Java 11 in Eclipse.
|
2017-08-13 12:38:03 +00:00
|
|
|
|
|
|
|
Steps to install everything:
|
2019-05-07 16:11:01 +00:00
|
|
|
* download a Java 11 JDK and put it in tools/jdk
|
|
|
|
* download Eclipse and put in in the tools/eclipse directory (for example)
|
2017-08-13 12:38:03 +00:00
|
|
|
|
|
|
|
Steps to prepare the Eclipse environment:
|
2019-05-07 16:11:01 +00:00
|
|
|
* open a command line to the checked out project, enter the 'ttnhabbridge' directory
|
2017-08-13 12:38:03 +00:00
|
|
|
* type 'env.bat' to initialise the tool paths etc
|
|
|
|
* type 'gradlew eclipse' and watch dependencies being downloaded from the internet
|
|
|
|
* start Eclipse, using the 'workspace' directory as workspace
|
2019-05-07 16:11:01 +00:00
|
|
|
* import sub-projects (ttnhabbridge, cayenne) into the workspace
|
2017-08-13 12:38:03 +00:00
|
|
|
|
2020-06-14 11:34:08 +00:00
|
|
|
Steps to update source code from github:
|
|
|
|
* in the top-level 'ttnhabbridge' directory, enter 'git pull'
|
|
|
|
|
|
|
|
Steps to create the executable package:
|
|
|
|
* enter the 'gradle' directory, then type './gradlew assemble' (or just 'gradlew assemble' on Windows)
|
2019-05-07 16:11:01 +00:00
|
|
|
* the .tar (for Linux) or .zip (for Windows) file can be found under ttnhabbridge/build/distributions
|
2017-08-15 09:13:04 +00:00
|
|
|
|
|
|
|
# Deployment
|
|
|
|
Steps to deploy the application:
|
|
|
|
* unzip the .zip or .tar file
|
|
|
|
* cd into the application directory
|
|
|
|
* start the .bat or .sh file
|
2020-06-14 11:34:08 +00:00
|
|
|
* edit and install the systemd service file, if desired (instructions inside the .service file)
|