Genie makes it very easy to automatically load your existing Julia code (modules, files, etc) into the app, outside of the standard Genie MVC structure. You simply need to add your files and folders into the
lib/folder does not exist, just create it yourself:
Genie does not
includethe files placed within the
lib/folder, but recursively adds all the folders to the
LOAD_PATH- so you can
includethe files yourself, as needed – Genie/Julia will know were to find them in the LOAD_PATH.
lib/are not added to the
Revisequeue so they are not automatically reloaded by Genie if changed. If you make changes/add/remove files in
lib/you need to restart the app or manually add them to be watched and reloaded by
Revise. The reason being that the
lib/folder is meant for legacy code. If you will actively develop the code, the recommended way is to use Genie's MVC structure, adding Models, Controllers, and Views as needed.