DeploymentNotes

From Sirikata Wiki
Revision as of 19:30, 28 February 2012 by Bmistree (talk | contribs) (Created page with "On sns30.cs.princeton.edu, all relevant files are located in /disk/local/sirikata/bskata/, and the rest assumes that you cd-d to this directory. To update code: git pull origi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

On sns30.cs.princeton.edu, all relevant files are located in /disk/local/sirikata/bskata/, and the rest assumes that you cd-d to this directory.

To update code:

 git pull origin master:master

To re-build:

 make -j6 (from root directory or build/cmake)

To run space:

 Open a screen session.
 cd /disk/local/sirikata/bskata/build/cmake
 
 * general:
     ./space_d --servermap-options=--port=6880
 * with physics on:
     ./space_d --servermap-options=--port=6880 --loc=bulletphysics
 * with no separate static and dynamic trees:
     ./space_d --servermap-options=--port=6880 --prox.split-dynamic=false
 * with gdb around it:
     gdb --args <command you were going to run>


To run OH on sns30:

 Open a screen session.
 cd /disk/local/sirikata/bskata/build/cmake
 
 * pointed at your own db:
     ./cppoh_d --object-factory-opts=--db=<path to your db file> "--servermap-options=--host=sns30.cs.princeton.edu --port=6880"
 * pointed at a basic small town + birthing tower db (note: requires physics to look "right")
     ./cppoh_d --object-factory-opts=--db=demo.db "--servermap-options=--host=sns30.cs.princeton.edu --port=6880"
 * to run with gdb:
     gdb --args <command you were going to run>


Notes:

 Please don't modify the following files for your own testing, everyone uses them:
    /disk/local/sirikata/bskata/build/cmake/demo.db
    /disk/local/sirikata/bskata/build/cmake/generate.em