-
Notifications
You must be signed in to change notification settings - Fork 26
Building Phase II tools
For a basic setup of the OCS project follow the steps at OcsDevelopmentSetup. First you need to configure spdb
before setting up OT
.
-
In
app/spdb/build.sbt
add your configuration profile. You may use the existing profiles as templates. -
Compile the whole project.
$ sbt compile
-
Switch
spdb
project.$ sbt > project app_spdb
-
Create a test database.
> ocsDist Test
-
In another shell cd into
app/spdb/target/spdb/2016A-test.1.1.1/Test/<username>
and run the database:$ ./spdb_2016A-test.1.1.1
-
Here you'll get a prompt where you can add your keys. Add them as a staff member.
g! key set staff gemini <password>
-
Switch to sbt and build OT repeating the steps for
spdb
.> project app_ot > ocsDist Test
-
cd into
app/ot/target/ot/2016A-test.1.1.1/Test/<site>/
. -
Run the OT by executing
./ot_2016A-test.1.1.1
. -
In the splash screen click on the
key manager
button and add a new key as staff with the previously set password.