Recently I felt a project may need to get running with a new code base super-fast, so in my investigation for a quick start I stumbled across the Yeoman nodeJS project. Also, Full Stack AngularJS [https://github.com/DaftMonk/generator-angular-fullstack] which is turning out pretty awesome.
These are proper Mountain Dew code projects, however there are a few gotchas in setting it up on Mac OSX Mavericks if your dev work hasn’t served you up enough Kool Aid recently.
Create a working folder
mkdir newProject && cd $_
Install brew [http://brew.sh/], this makes it much easier to install more cool aid packages on your machine
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
http://nodejs.org/, The server this all runs from
brew install node
http://bower.io/, A Package manager from Twitter
npm install -g bower
Install the DB
https://www.mongodb.org/, A NoSQL database
brew install mongodb
Allows mongo to start (it kept erroring)
sudo mkdir -p /data/db/
sudo chown id -u
http://yeoman.io/, a scaffolding tool to make every project start well
npm install -g yo
Angular and mongo yeoman installer
npm install -g generator-angular-fullstack
Install the Project Scaffold
Just follow the instructions, use [Space] to select and Hit [Enter] to confirm
It’s possible you’ll then need to run
and then to make it all run together,
Then in another terminal tab on the same folder [Cmd+T], starts the server and shows you what you just installed!