-
clone this repository to your development machine, not the Edison. On the Edison you need to set up the runtime environment but not source code.
On the Edison itself:
-
make sure your Java cacerts file is hunky-dory. See Java cacerts on Intel Edisons and Gateways.
-
install boot
sudo bash -c “cd /usr/local/bin && curl -fsSLo boot https://github.com/boot-clj/boot-bin/releases/download/latest/boot.sh && chmod 755 boot”Then run $ boot help - this will cause boot to download its dependencies and install them in the local repo (~/.m2/repository).
|
Note
|
This takes a long time the first time 'round. |
Then run $ boot help again, which will make it update to the latest version.
Emacs users: copy profile.boot from this repo (on your dev host
machine) to ~/.boot on the Edison; this contains the code needed to use Cider with
the nREPL.
Others: see tools.nrepl for information about using other editors.
-
install cmake
wget https://cmake.org/files/v3.6/cmake-3.6.0-rc4.tar.gz
tar -zxvf cmake-3.6.0-rc4.tar.gz
cd cmake-3.6.0
bootstrap && make
make install-
compile and install tinyb:
git clone https://github.com/intel-iot-devkit/tinyb.git
cd tinyb
mkdir b && cd b
export JAVA_HOME=/usr/lib64/jvm/java-8-openjdk
cmake .. -DBUILDJAVA=ON