new-website
This project was generated with the Angular Full-Stack Generator version 3.0.0-rc8.
Getting Started
Prerequisites
- Git
- Node.js and NPM >= v0.12.0
- Bower (
npm install --global bower
) - Grunt (
npm install --global grunt-cli
) - MongoDB - Keep a running daemon with
mongod
Developing
-
Run
npm install
to install server dependencies. -
Run
bower install
to install front-end dependencies. -
Run
mongod
in a separate shell to keep an instance of the MongoDB Daemon running -
Run
grunt serve
to start the development server. It should automatically open the client in your browser when ready.
Build & development
Run grunt build
for building and grunt serve
for preview.
Testing
Running npm test
will run the unit tests with karma.
Heroku deployment
There are detailed instructions here on how to deploy to Heroku -- and/or Openshift -- but the basics are:
First deployment
- Run
yo angular-fullstack:heroku
- Run
cd dist && heroku addons:create mongolab
- Run
heroku open
to see the live website
Pushing updates
- Run
grunt
to build the app - Run
grunt buildcontrol:heroku