<commit_before>Buildpack for meteor on cloudcontrol
====================================

This is a [buildpack](https://www.cloudcontrol.com/dev-center/Platform%20Documentation#buildpacks-and-the-procfile) for
[meteor apps](http://www.meteor.com).

It does expect one of the mongo database ADDONs to be added to deploy correctly.

Usage
-----

This is a buildpack for meteor applications. In case you want to introduce some changes, fork the buildpack,
apply changes and test it via [custom buildpack feature](https://www.cloudcontrol.com/dev-center/Guides/Third-Party%20Buildpacks/Third-Party%20Buildpacks):

~~~bash
$ cctrlapp APP_NAME create custom --buildpack https://github.com/aheissenberger/cloudcontrol-buildpack-meteor.git
~~~

Example
-------
~~~bash
$ meteor create --example todos
$ cd todos
$ cctrlapp APP_NAME create custom --buildpack https://github.com/aheissenberger/cloudcontrol-buildpack-meteor.git
$ git init && git add . && git commit -m 'init'
$ cctrlapp APP_NAME/default addon.add mongolab.sandbox
$ cctrlapp APP_NAME/default push
$ cctrlapp APP_NAME/default deploy
~~~

Info
----

This error message is OK as we need to start meteor and kill it to create required assets for bundling:
    /srv/tmp/custom_buildpack/bin/compile: line 75:   104 Killed                  HOME="$VENDORED_METEOR" timeout -s9 20 "$VENDORED_METEOR/.meteor/meteor" --settings settings.json

oplog support<commit_msg>add variable to demo commands<commit_after>Buildpack for meteor on cloudcontrol
====================================

This is a [buildpack](https://www.cloudcontrol.com/dev-center/Platform%20Documentation#buildpacks-and-the-procfile) for
[meteor apps](http://www.meteor.com).

It does expect one of the mongo database ADDONs to be added to deploy correctly.

Usage
-----

This is a buildpack for meteor applications. In case you want to introduce some changes, fork the buildpack,
apply changes and test it via [custom buildpack feature](https://www.cloudcontrol.com/dev-center/Guides/Third-Party%20Buildpacks/Third-Party%20Buildpacks):

~~~bash
$ cctrlapp APP_NAME create custom --buildpack https://github.com/aheissenberger/cloudcontrol-buildpack-meteor.git
~~~

Example
-------
~~~bash
$ meteor create --example todos
$ cd todos
$ export set mappname=APP_NAME
$ cctrlapp ${mappname} create custom --buildpack https://github.com/aheissenberger/cloudcontrol-buildpack-meteor.git
$ git init && git add . && git commit -m 'init'
$ cctrlapp ${mappname}/default addon.add mongolab.sandbox
$ cctrlapp ${mappname}/default push
$ cctrlapp ${mappname}/default deploy
~~~

Info
----

This error message is OK as we need to start meteor and kill it to create required assets for bundling:
    /srv/tmp/custom_buildpack/bin/compile: line 75:   104 Killed                  HOME="$VENDORED_METEOR" timeout -s9 20 "$VENDORED_METEOR/.meteor/meteor" --settings settings.json

oplog support
{'fraction_non_alphanumeric': 0.1322256836275528, 'fraction_numerical': 0.009691934925579786, 'mean_word_length': 4.422138836772983, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1476671', 'n_tokens_mistral': 941, 'n_tokens_neox': 860, 'n_words': 264}