blob: ab99764505570f8b135df3f52a1fa8c3616ec29d [file] [log] [blame]
Apache Sling Resource Editor
The Apache Sling Resource Editor allows to edit Apache Sling content based on the Sling API.
++ Installation ++
o First install the JSNodeTypes library here: 'contrib/commons/js/nodetypes'. You find the short installation instruction in its README file.
o Then use 'mvn install -P autoInstallBundle' to install this bundle to your local Sling instance at port 8080.
o After that you find the web application at "/reseditor/.html" on your server.
++ Development with the Sling Resource Editor ++
o Use `mvn install sling:install` to deploy changes of Java classes
o To have frontend changes automatically deployed call `mvn install -P autoInstallBundle -Dsling.mountByFS=true`
o To have the less sources automatically compiled on change call `./grunt watch:less` in the frontend directory. Press Ctrl-Z to stop watching.
o To run the build on your local maschine call './grunt local_build' within the frontend directory. It includes end to end tests with firefox and chrome.
Enjoy!