-
Notifications
You must be signed in to change notification settings - Fork 178
How to use
MarkMarine edited this page Dec 30, 2013
·
2 revisions
.
├── client/
│ ├── components/
│ ├── fonts/
│ │ ├── font-awesome/
│ │ └── glyphicons/
│ ├── js/
│ │ ├── {{module}}/
│ │ │ ├── controllers/
│ │ │ ├── directives/
│ │ │ ├── services/
│ │ │ ├── templates/
│ │ │ │ └── {{template}}.html
│ │ │ └── index.js
│ │ ├── node_modules/
│ │ │ ├── bower_components/
│ │ │ └── custom_components/
│ │ ├── app.js
│ │ └── index.js
│ └── less/
│ ├── _layouts/
│ ├── bootstrap/
│ ├── font-awesome/
│ ├── lesshat/
│ └── social-buttons/
├── config/
│ ├── development.json
│ ├── heroku.json
│ ├── nginx.conf
│ └── production.json
├── log/
├── node_modules/
├── server/
│ ├── controllers/
│ ├── lib/
│ ├── models/
│ ├── sockets/
│ ├── views/
│ │ ├── _helpers/
│ │ ├── _layouts/
│ │ │ └── default.hbs
│ │ ├── _partials/
│ │ │ └── livereload.hbs
│ │ ├── home/
│ │ ├── status/
│ │ └── empty.hbs
│ ├── app.js
│ ├── index.js
│ ├── routes.js
│ ├── socketio.js
│ └── winston.js
├── static/
│ ├── img/
│ ├── 404.html
│ ├── favicon.ico
│ └── robots.txt
├── worker/
│ ├── task/
│ ├── index.js
│ └── process.js
├── .bowerrc
├── .editorconfig
├── .jshintrc
├── .slugignore
├── Gruntfile.js
├── Procfile
├── bower.json
├── npm-scripts.js
├── package.json
└── project.json
| Dependency | Installation |
|---|---|
| Node.js | download |
| MongoDB | download |
| Redis | download |
| Bower | npm install bower -g |
| Grunt | npm install grunt-cli -g |
Make sure both MongoDB and Redis servers running somewhere. (You can use free hosting services such as MongoHQ or MongoLab for MongoDB and Redis To Go or RedisCloud for Redis.) Then, update configuration information in config/{development,heroku,production}.json.
If you find any reason not to use Redis in your project, you can easily achieve it by following this instruction:
- Change the value of
session.store._usetomongoinconfig/{development,heroku,production}.json. (This letsultimate-seeduse MongoDB as session backend.) - Comment out the line
ultimate.db.redis.connect(app.config.db.redis);inserver/app.js. (This prevents server connecting toRedisserver.)