Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/calvinchengx/meteor-demo
A simple demo project demonstrating the use of meteor.js and mongodb pub-sub
https://github.com/calvinchengx/meteor-demo
Last synced: 22 days ago
JSON representation
A simple demo project demonstrating the use of meteor.js and mongodb pub-sub
- Host: GitHub
- URL: https://github.com/calvinchengx/meteor-demo
- Owner: calvinchengx
- Created: 2015-07-11T10:11:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-11T13:35:22.000Z (over 9 years ago)
- Last Synced: 2024-11-16T01:37:26.622Z (3 months ago)
- Language: JavaScript
- Homepage: http://calvinx-chat.meteor.com/
- Size: 121 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# A simple demo project demonstrating the use of meteor.js and mongodb pub-sub
## Get started
1. Install meteor: `curl https://install.meteor.com/ | sh`
2. `cd ~/work`
3. `meteor create chat`
4. `cd chat`## TODO
### Use rethinkdb instead?
5. `meteor add simple:rethink`
### Install rethinkdb
1. Run rethinkdb: `cd ~/work/chat; rethinkdb`
### Start meteor
1. `env RETHINK_URL=rethinkdb://localhost:28015/test meteor run`
## Tooling for VIM users
1. Install tern_for_vim plugin
2. Then, install meteor.js plugin for tern_for_vim via:```
cd $HOME/.vim/bundle/tern_for_vim/node_modules/tern/plugin/
wget https://raw.githubusercontent.com/Slava/tern-meteor/master/meteor.js
```3. The meteor project should then include this `.tern-project` file in project root directory:
```
{
"libs": [
"browser",
"jquery",
"underscore"
],
"loadEagerly": [ "*.js", "*/*.js", "*/*/*.js", "*/*/*/*.js" ],
"dontLoad": [ ".meteor" ],
"plugins": {
"meteor": {}
}
}
```