Skip to content

Building Phase II tools

Danny Navarro edited this page Aug 9, 2017 · 3 revisions

For a basic setup of the OCS project follow the steps at OcsDevelopmentSetup. First you need to configure spdb before setting up OT.

  1. In app/spdb/build.sbt add your configuration profile. You may use the existing profiles as templates.

  2. Compile the whole project.

    $ sbt compile
  3. Switch spdb project.

    $ sbt
    > project app_spdb
  4. Create a test database.

    > ocsDist Test
  5. 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
  6. Here you'll get a prompt where you can add your keys. Add them as a staff member.

    g! key set staff gemini <password>
    
  7. Switch to sbt and build OT repeating the steps for spdb.

    > project app_ot
    > ocsDist Test
    
  8. cd into app/ot/target/ot/2016A-test.1.1.1/Test/<site>/.

  9. Run the OT by executing ./ot_2016A-test.1.1.1.

  10. In the splash screen click on the key manager button and add a new key as staff with the previously set password.