Skip to content
Dave Freeman edited this page Sep 9, 2016 · 12 revisions

Getting Started Notes

# clone the repo!
git clone [email protected]:enyojs/enact.git
# move in
cd enact
# we're using git flow so develop is our working branch
git checkout develop
# install lerna
npm install
# run the lerna bootstrap command (proxied by an npm script)
npm run bootstrap
# wait a while … installing enyo-config, react, ... :allthethings:

You'll probably want to npm link the enact modules into your app (e.g. rigby). Once the bootstrap is complete, you can link everything up with this command. It tells the local lerna (npm run lerna --) to execute (exec --) the npm link command on every module in packages/.

npm run lerna -- exec -- npm link

Then from your app, you can link everything in:

npm link enact-core enact-ui enact-i18n enact-spotlight enact-moonstone

Note: Mac users need to use sudo ... for the link command. That means your root account needs the same SSH keys as your repo user to complete successfully.

Clone this wiki locally