Skip to content

Instantly share code, notes, and snippets.

@SeanZoR
Last active September 30, 2018 22:14
Show Gist options
  • Save SeanZoR/07389c1e990515be09ab to your computer and use it in GitHub Desktop.
Save SeanZoR/07389c1e990515be09ab to your computer and use it in GitHub Desktop.
Full Stack AngularJS MEAN Installation (OS X, El Capitan)
# Make sure homebrew is installed and latest
brew update
# Run the brew doctor and read the instructions, it will make sure all paths are ready for write and all
brew doctor
# Start installing packages
brew install mongodb
brew install homebrew/versions/node010 #For Yeomen compatability later on
npm install express -g
npm install bower -g
npm install grunt-cli -g
# Install ruby and download sass
brew install ruby
gem install sass
# Install yo and doctor it
npm install yo -g
yo doctor
# Install the generator github.com/DaftMonk/generator-angular-fullstack
npm install generator-angular-fullstack -g
# Go to an empty directory, and run
yo angular-fullstack HelloMean
# Create a local mongo DB
mkdir -p /data/db/
mongod --dbpath /data/db/
# Run the website!
grunt serve
# That's it! :)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment