To work with Meteor's publications/subscriptions, we need to remove the
autopublish package, which was added by default to our project.
This package is useful for rapid prototyping, but infeasible in production since all of the data in our database would be synced to all the clients. This is not only insecure but also slows down the data loading process.
We just run the following command from inside our
my-meteor-blog folder on the terminal:
$ meteor remove autopublish
Now we can run
meteor again to start our server. When we check out the website, we will see that all our posts from the previous chapter are gone.
They are not really gone, however. The current server just didn't publish any yet, and the client just ...