- Node.js
- Express
- Angular.js, CDN (with ngRoute setup)
- Body-parser
- Boostrap, CDN
-
Clone or fork this repo
$ git clone git@github.com:henryfreel/MEAN-seed.git
-
cd
into the new directory$ cd MEAN-seed
-
If you haven't already, Install Node & NPM
- Standalone installer: https://nodejs.org/download/
- Homebrew: http://blog.teamtreehouse.com/install-node-js-np 6408 m-mac
-
Install Homebrew:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
-
Install node
brew install node
-
Install all the necessary modules
$ npm install
-
Run either
node server.js
,npm start
, ornodemon
(docs). All three commands do the same thing, which is start your server :) -
If you want to use Sass with Compass...
-
Mac: Install Compass:
$ sudo gem install compass
-
Watch Compass directory:
cd public/assets/compass
$ compass watch
-
If it says
>>> Compass is polling for changes. Press Ctrl-C to Stop.
You're good to go!
-
For Windows or if you need more help with Sass/Compass checkout this quick Compass starter
-
-
That's it!
|MEAN-seed
- node_modules (once you run npm install)
|public
|compass
|sass
- config.rb
|css
- normalize.css
- styles.css
|scripts
- app.js
- controllers.js
|views
|templates
- first-page.html
- main.html
- second-page.html
- index.html
- Package.json
- README.md
- server.js