The tools
When working with node, essential cli tools include gulp the task runner, for light weight monitoring and suff you may need nodemon, to quickly get started with scaffolded code we'll definitely need yo (formerly yeoman package)
The database server
mongodb is kind of de-facto document based (NO-SQL) database server, it also deals in JSON and will be definite choice towards taking your first set as a full-stack javascript developer.
The script
To install all these tools and packages, is really a headache, and if you have friends who need help on setting up a node friendly machine can prove to be time consuming and error prone. To reduce this overall effort I have written a script which basically install all these tools and you can just sit back and relax. So all you need to do is,
- sh -c "$(curl -f https://raw.githubusercontent.com/daveamit/get-me-node/master/install.sh)"
Thats it and you are good to go.
The script still is missing atom packages installation part, that I'll be adding very soon, but I guess this script is more than enough to get you started!
Support is now added
How do I use stuff just installed?
=> MongoDb
To start MongoDb run mongod
in terminal, keep the terminal open till you are using it, once done press CTRL+C
to close it.
=> Docky
To start search 'Docky' from dashboard (to open dash press windows key
.
=> Git
Just fire-up git from terminal, it'll just work. For your reference
=> npm and node
Use nvm use <version-number>
to change the node runtime, by default node 5.0 will be loaded. To change default node version, change the version in ~/.zshrc
config file. For more details how nvm works use this.
Read more articles on Node.js: