Part time Dog Walker(!)
Windsurfer/kiteboarder & snowkiter
FTE - Lead Front-end Developer
@baskint
"Any application that can be written in JS, will eventually be written in JS"
-Atwood's Law
Prerequisites
brew install git
brew install node
brew install mongodb
npm install -g bower
npm install -g gulp
Then install mean-cli
sudo npm install -g mean-cliCreate your app using
mean init nameOfYourAppInstall packages and start the app
cd nameOfYourApp
npm install
gulpOn a Mac OS (brew)
npm-dviewCommon Language Interface (CLI)
mean help// to install
mean package yourPackageName
// to remove
mean uninstall yourPackageName
Directory Structure
Deployment
git init
git add .
git commit -m "initial version"
heroku apps:create
heroku config:add NODE_ENV=production
heroku config:add BUILDPACK_URL=https://github.com/youraccount/yourproject.git
git push heroku master
heroku config:set NODE_ENV=productionUpdate your db string - suggest MongoLabs or MongoHQ
mean-cli g model game name:string description:textBooks ==>
Video Tutorials ==>