/website

Primary LanguageJavaScript

new-website

This project was generated with the Angular Full-Stack Generator version 3.0.0-rc8.

Getting Started

Prerequisites

Developing

  1. Run npm install to install server dependencies.

  2. Run bower install to install front-end dependencies.

  3. Run mongod in a separate shell to keep an instance of the MongoDB Daemon running

  4. 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