Shortly after publishing the first part of this article, I discovered an much easier way to generate a fresh project with a git-able version of KeystoneJS. Normally I don't have much luck with using the yeoman generator, but this time everything seems to be building great.
Follow steps 1 through 7 in the first part. From there, logged in as your normal user, run the following commands:
- npm install -g generator-keystone
- yo keystone
(This will install the keystone generator) - node keystone.js
(After installing keystone, run this command to ensure that Keystone will actually launch.) - cd node_modules
- git clone https://github.com/keystonejs/keystone
- cd keystone
- npm install
(Replace the default keystone directory with a clone of the KeystoneJS repository from GitHub)
Again, this worked for me on node version v4.2.6 and npm v3.5.2. The result is the full demo install with a git-able KeystoneJS repository. For reference, the latest commit to the keystone master branch is this one.