Create a new node module: Difference between revisions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
** git init --bare --shared | ** git init --bare --shared | ||
* git remote add origin bitpost.com:/home/m/development/websockets-tester.git | * git remote add origin bitpost.com:/home/m/development/websockets-tester.git | ||
* git push ... (come back once git-sync is doing auto version creation!) | * git push origin master ... (come back once git-sync is doing auto version creation!) | ||
* code your ass off | * code your ass off | ||
* if it gets good... and is useful to others... publish it! | * if it gets good... and is useful to others... publish it! |
Revision as of 19:52, 1 June 2016
- pick a name that doesn't yet exist on [1] just to be safe
- create a wiki page off of in-progress Projects
- mkdir ~/development/websockets-tester
- cd ~/development/websockets-tester
- cp -rp ~/development/scripts/node/mah-haus/* .
- subl index.js package.json # clean to use wst (our top-level command)
- mv sy-cmd.js wst-cmd.js && mv sync-utils.js wst-utils.js
- npm install --save ws # to install a local copy of any dependency under node_modules, and auto-add dependency to package.json
- git init --shared && git add *.js package.json
- on bitpost:
- mkdir ~/development/websockets-tester.git && cd ~/development/websockets-tester.git
- git init --bare --shared
- git remote add origin bitpost.com:/home/m/development/websockets-tester.git
- git push origin master ... (come back once git-sync is doing auto version creation!)
- code your ass off
- if it gets good... and is useful to others... publish it!