Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 913 Bytes
Organizing Lono

Breaking up app/definitions

If you have a lot of templates, the app/definitions/base.rb file can become unwieldy long. You can break up the file and put them under the app/definitions/base folder. All files are loaded.

Though, you might find that using a balance of [shared variables]({% link _docs/ %}), [params]({% link _docs/ %}), and [native CloudFormation constructs]({% link _docs/tutorials/ec2/ %}), and [layering]({% link _docs/ %}) results in a short app/definitions files and you don't break up your app/definitions files in the first place.

Back Next Step

Pro tip: Use the <- and -> arrow keys to move back and forward.