-
Notifications
You must be signed in to change notification settings - Fork 15
Home
Bindu Wavell edited this page Apr 10, 2015
·
10 revisions
The Alfresco generator for Yeoman can generate an Alfresco development project based off of the all-in-one archetype which is part of the Alfresco SDK 2.0 and above. As such, it targets Alfresco 5.0 and above.
Once we have the generator published to the npm repo you will be able to install it like this:
npm install generator-alfresco -g
As that step has not been completed, you'll have to follow the developer setup steps:
# if you are on a mac and you don't have homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
# if you don't have node, you need to install it; on a mac you can use
brew install node
# if you don't have yeoman, you need to install it
npm install yo -g
# pull down the sources for the alfresco generator
cd <location where you place projects>
git clone [email protected]:binduwavell/generator-alfresco.git
# install dependencies
cd generator-alfresco
npm install
# and make sure it is avalable
npm link
Once you have yeoman and generator-alfresco installed:
yo alfresco
This will walk you through a series of questions that should help you create an Alfresco all-in-one project.