Skip to content

Quick Start

nestorpersist edited this page Aug 20, 2012 · 27 revisions

Follow the following steps to quickly try out OStore.

  1. Download OStore code from GitHub

     https://github.com/nestorpersist/ostore
    
  2. Make sure the core/data directory is empty (unless you are testing with a preexisting database).

  3. Use sbt 0.11.3 (for core) and 0.11.2 (for ui) in the following steps. We use

       https://github.com/paulp/sbt-extras
    

    with the option form

       -sbt-version 0.11.3
    
  4. In a shell start an OStore server.

     cd core
     sbt
     run-main com.persist.Server
    
  5. In another shell start ui.

     cd ui
     sbt
     container:start
    
  6. In web browser goto url

     http://127.0.0.1:8080/?restartApplication
    
  7. In the browser, add a database

     Add Database
     name: test
     file: core/config/test.db
    
  8. In the browser, add values to a table.

     select the test database
     Show Tables
     select tab1
     Upload
     file: tab1.data
    
  9. To quit. In the browser.

     for database test
     Stop Database
    

Shut down the core sbt using ^C.

Stop the ui using the following sbt command

    container:stop
Clone this wiki locally