-
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 any other Phase II tools.
-
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.
This should be similar to how the same as the OT.
If you might get an authentication related error, make sure the QPT conf/config.properties
is set to edu.gemini.qpt.ui.action.destination.user=telops
This should be generated correctly with the latest ocs-credentials
code, so make sure you checked it out the latest version before trying to build it.