-
Notifications
You must be signed in to change notification settings - Fork 20
Generate YAML
jtessler edited this page Feb 23, 2012
·
6 revisions
- Install the module to your local Play! framework:
play install logisimayml-1.8
- Update your dependencies:
play dependencies
- 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.