-
Notifications
You must be signed in to change notification settings - Fork 1
Development guide
Sanchiz edited this page Sep 22, 2014
·
7 revisions
Install DGM from NPM
globally
$ npm install -g dgm
locally (only to the current folder)
$ npm install dgm
This command will download latest release from NodeJS Package Manager.
Install DGM from GitHub repository
1 - Clone source code
$ git clone [email protected]:Sanchiz/DrupalGapManager.git
2 - Go to DrupalGapManager folder
$ cd DrupalGapManager
3.1.1 - Install DGM and dependencies (it will download dependencies to the node_modules folder)
$ npm install -d
3.1.2 - Run DGM
$ node bin/dgm.js <COMMAND>
3.2.1 - Install DGM and dependencies globally
$ npm install -g
3.2.2 - Create symlink to the bin/dgm.js file to use development version
$ ln -s path_to_dgm/bin/dgm.js /usr/local/bin/dgm
3.2.3 - Run DGM
$ dgm <COMMAND>
This command will use your local version of code, so you can work on code.