-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathsetup.sh
More file actions
30 lines (26 loc) · 822 Bytes
/
Copy pathsetup.sh
File metadata and controls
30 lines (26 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# Install OpenJDK-8
#
# If a different version is preferred, the ScalaZ3 jar must be recomplied
# against this jdk. You're on shaky ground there.
sudo apt-get update
sudo apt-get install -y python-software-properties
sudo add-apt-repository -y ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install -y openjdk-8-jdk
# We use sbt for building Symnet.
#
# If the link is broken, search sbt on google and grab the latest version
# from there.
wget https://dl.bintray.com/sbt/native-packages/sbt/0.13.9/sbt-0.13.9.tgz
tar xf sbt-0.13.9.tgz
rm *.tgz
# Make sure sbt is in path.
sudo ln -s ~/sbt/bin/sbt /usr/local/bin/sbt
# Install git and grab Symnet
sudo apt-get install -y git-core
git clone https://github.com/nets-cs-pub-ro/Symnet.git
# Build it and test the rig.
cd /vagrant
sbt compile
sbt sample