Permalink
Browse files

Removed `autopublish` and set up a basic publication.

chapter4-4
  • Loading branch information...
tmeasday committed Apr 7, 2013
1 parent 974953b commit 7b26a116d3767ed0a28b75d61ecf55bff52f5935
Showing with 4 additions and 2 deletions.
  1. +0 −1 .meteor/packages
  2. +0 −1 .meteor/versions
  3. +1 −0 client/main.js
  4. +3 −0 server/publications.js
View
@@ -16,7 +16,6 @@ standard-minifiers # JS/CSS minifiers run for production mode
es5-shim # ECMAScript 5 compatibility for older browsers.
ecmascript # Enable ECMAScript2015+ syntax in app code
-autopublish # Publish all data to the clients (for prototyping)
insecure # Allow all DB writes from clients (for prototyping)
twbs:bootstrap
underscore
View
@@ -1,4 +1,3 @@
-autopublish@1.0.4
autoupdate@1.2.3
babel-compiler@5.8.24_1
babel-runtime@0.1.4
View
@@ -0,0 +1 @@
+Meteor.subscribe('posts');
View
@@ -0,0 +1,3 @@
+Meteor.publish('posts', function() {
+ return Posts.find();
+});

0 comments on commit 7b26a11

Please sign in to comment.