Skip to content

Quick Start

nestorpersist edited this page Nov 11, 2013 · 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.13.0 in the following steps. We use

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

    with the option

       -sbt-version 0.13.0
    
  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
    
  7. In the browser, add a database

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

     select the test database
     Show Tables
     select tab1
     Upload
     file: core/config/test/tab1.data
     Show Items
    
  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