This project helps you to get started with building a Backbone.js application within Alfresco Share.
-
Sync the project code.
-
Add a new properties file, custom-build.properties , under the project root and set the property for your alfresco installation directory
alfresco.dir=/opt/alfresco
- Either run the ant command to copy the module files to your Alfresco directory.
ant
- Or use the ant script to build the AMP package file and install it with your Alfresco instance.
ant package-amp
-
Create a Share site.
-
Add a plain text document to the site document library.
-
Access the sample Backbone.js application using the following link (replace the text in the brackets with your actual site url name and document nodRef)
http://localhost:8080/share/page/site/[Your Site URL Name]/alfresco-backbone-sample?nodeRef=[Your Document NodeRef]