Skip to content

Latest commit

 

History

History
58 lines (35 loc) · 1.37 KB

readme.md

File metadata and controls

58 lines (35 loc) · 1.37 KB

Node.js + Ember.js + MongoDB

Proof of concept application.

Dependencies:

How to run in development environment

  1. You have to start local MongoDB instance

  2. Go to the project directory

     $ cd nodejs-emberjs-mongodb
    
  3. Install required Node.js modules

     $ npm install
    
  4. Start Node.js HTTP server

     $ npm start
    
  5. Visit address http://localhost:3000

  6. Enjoy!

Build and run production version

  1. You have to start local MongoDB instance

  2. Go to the project directory

     $ cd nodejs-emberjs-mongodb
    
  3. Install required Node.js modules

     $ npm install
    
  4. Start Node.js HTTP server in production environment, client javascript and css files will be automatically optimized

     $ NODE_ENV=production node app
    

Manual client build

  1. Go to the project directory

     $ cd nodejs-emberjs-mongodb
    
  2. Build client

     $ node build