issues
search
trsimoes
/
hbs
0
stars
1
forks
source link
readme
Instalation Instructions
Download Raspbian Lite in burn it to SD card:
https://downloads.raspberrypi.org/raspbian_lite_latest.torrent
Activate SSH:
https://randomnerdtutorials.com/installing-raspbian-lite-enabling-and-connecting-with-ssh/
Install JAVA8:
https://www.linuxbabe.com/desktop-linux/install-oracle-java-8-debian-jessie-raspbian-jessie-via-ppa
Install GIT (sudo apt-get install git)
Install Maven 3:
https://xianic.net/2015/02/21/installing-maven-on-the-raspberry-pi/
(remove install binary in the end: rm -rf apache-maven-3.2.5-bin.tar.gz)
Install PostgreSQL:
https://opensource.com/article/17/10/set-postgres-database-your-raspberry-pi
Create user and database. Use same article.
Clone HBS project: git clone
https://github.com/trsimoes/hbs.git
Install FlotJF in Maven local repository: mvn install:install-file -Dfile=libs\dunse\FlotJF\0.2-SNAPSHOT\FlotJF-0.2-SNAPSHOT.jar -DgroupId=dunse -DartifactId=FlotJF -Dversion=0.2-SNAPSHOT -Dpackaging=jar
Run
rebuild.sh
chmod 766 rebuild.sh
./rebuild.sh
Usefull Links
Google Charts:
https://gist.github.com/anonymous/315d0e4cb69db3661b46b348f0c7ba32
Selenium Firefox Drivers:
https://github.com/mozilla/geckodriver/releases
Run HBS at boot:
https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/
(Method 1: rc.local)