-
Notifications
You must be signed in to change notification settings - Fork 36
Home
Dave Freeman edited this page Sep 12, 2016
·
12 revisions
# clone the repo!
git clone git@github.com: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 linkThen from your app, you can link everything in:
npm link enact-core enact-ui enact-i18n enact-spotlight enact-moonstoneNote: Mac users may need to use sudo ... for the link command. That means your root account's SSH keys need to be configured appropriately (using node v6.5.0 and npm v3.10.3 seem to eliminate the need to use sudo).
Noticing some intermittent errors depending on your node/npm version. We've seen it work with node 4.4.7 and npm 2.15.8 and node 6.5.0 and npm 3.10.3. Worth trying if you're seeing errors on bootstrap.