Installing
Assuming you are running homebrew up-to-date on a Mac, here is how you configure your dev environment
brew install mongodb
brew install nvm
brew install redis
brew services start mongodb
nvm install v4.6.1
nvm alias default v4.6.1
npm install -g bower
redis-server &
Next install app dependencies
npm install
Finally, compile the client assets.
grunt
You are ready to run the server
npm start
Dependencies:
For Full details see package.json
Architecture
The server architecture is evolving more information to come.
├── client
│ ├── js
│ ├── images
│ └── sass
├── ohm
│ ├── apis
│ ├── config
│ ├── models
│ ├── ghost
│ ├── controllers
│ ├── routes
│ └── views
│ | └── bootloader.pug
├── static
├── package.json
├── gruntfile.js
└── ohm.js
Debugging
If you are using node-inspector the run command by default passes the necessary flag to attach to the debugger, but you must start node inspector like so first:
grunt node-inspector &