oh-wo / ng2-playground

For hacking and trialing new ideas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

See it

Requirements

  • NodeJs
  • Npm (comes with node)
  • Optional (to run the app most like production):
  • Optional (for deployment)

Installation

  • Frontend: cd ui && npm install
  • Backend: cd server && npm install

Development

  • Frontend: cd ui && npm start
  • Backend, run one of the following from the project root:
    • Easiest: node ./server/index.js
    • With instant reloading: nodemon ./server/index.js
    • As it will run on in production: foreman start

Deployment

  • Get access to the Heroku project (ask Owen)
  • Using the command line, login to Heroku.
  • git push heroku master

Debug production

  • Get access to the Heroku project (ask Owen)
  • heroku logs -t --app ng2-playground

About

For hacking and trialing new ideas


Languages

Language:TypeScript 62.5%Language:JavaScript 24.4%Language:HTML 7.6%Language:CSS 5.5%