Skip to content
jtessler edited this page Feb 23, 2012 · 6 revisions

(Work in progress)

Setup

  1. Install the module to your local Play! framework: play install logisimayml-1.8
  2. Update your dependencies: play dependencies

How to generate new YAML

  1. Setup FS database in conf/application.conf: db=fs (this module does not work with the in-memory database)
  • Start Play!: play run
  • Log in, make edits, etc.
  • Once you're ready to save the current OpenBook state, close Play.
  • Generate the new YAML file: play yml:generate (saves to conf/data.yml)
  • Convert back to the in-memory database in conf/application.conf: db=mem
  • Delete the FS database created in step (4): rm -r db/
  • Use the new YAML file as the initial data: mv conf/data.yml conf/initial-data.yml
  • (Or use the new YAML file as initial test data: mv conf/data.yml test/data.yml)
  • Check in the changes to GitHub.

Sources

logisima-yml

Clone this wiki locally