0.0.4 • Published 12 years ago

meteor-deploy-config v0.0.4

Weekly downloads
18
License
-
Repository
github
Last release
12 years ago

Deploy Config

Trix for managing Meteor deployment configurations

What's it for?

Sometimes a new instance of an app needs to be configured before it's useful. The package takes a simple approach to solving that problem. There are two components:

1) A smart package that provides an DeployConfig key/value store that's backed by Mongo.

2) A command line app that prompts for each unsatisfied value and communicates them back to the deployed app (yes, over DDP!).

How do I use it?

Start by fetching values from the DeployConfig key/value store. If the value is already in DeployConfig the callback gets called right away:

DeployConfig.get('googleSecret', function(secret) {
  Meteor.accounts.google.setSecret(secret);
});

When you deploy your app run the command line utility and you'll be prompted for any values that your app needs to get from DeployConfig. These values will be sent to the server, saved in DeployConfig and their callbacks will be invoked:

mcfg --host=localhost --port=3000

TODO

Prefer https

0.0.4

12 years ago

0.0.3

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago