Skip to content

Starting the system

patham9 edited this page Aug 3, 2016 · 6 revisions

Assuming the system was downloaded from http://opennars.github.io/opennars/ the

Binary release can be started by extracting it and then executing either startscript.bat (Windows) or startscript.sh (Linux/Mac)

Source release (normal startup):

  1. Execute "lein run" in source-tree.

Source release (REPL): By starting the system from the REPL we can interact with the system with Clojure while it is running, which is the better option for custom code as well as system analysis and other development and testing-related purposes, and this is how it is achieved:

  1. Execute "lein repl" in the source-tree.
  2. enter (load-file "src/gui/lense.clj")
  3. enter (gui.lense/-main)
Clone this wiki locally