Skip to content

Commit

Permalink
more R14A stuff and extra vars for mail.
Browse files Browse the repository at this point in the history
  • Loading branch information
russelldb committed Jun 26, 2010
1 parent 429bdba commit cf3f1a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
15 changes: 3 additions & 12 deletions templates/mochi.erlgmail.cfg
@@ -1,17 +1,8 @@
{default, [{host, "smtp.gmail.com"},
{port, 465},
{username, "you@{{appid}}.cm"},
{password, "changeit"},
{username, "{{erlgmail_usr}}"},
{password, "{{erlgmail_pass}}"},
{from, "you@{{appid}}.com"},
{to, ["your@recipient.com"]},
{header_to, ["your@recipient.com"]}]
}.

{ {{appid}}, [{host, "smtp.gmail.com"},
{port, 465},
{username, "you@{{appid}}.cm"},
{password, "changeit"},
{from, "you@{{appid}}.com"},
{to, ["your@recipient.com"]},
{to, ["{{erlgmail_to}}"]},
{header_to, ["your@recipient.com"]}]
}.
2 changes: 0 additions & 2 deletions templates/mochi.rebar.config
Expand Up @@ -7,5 +7,3 @@
{mochiweb, "1.7.1", {git, "http://github.com/basho/mochiweb.git", "HEAD"}}]}.

{sub_dirs, ["apps/erlydtl", "apps/mochiweb", "apps/tempile", "apps/erlgmail", "apps/{{appid}}", "rel"]}.

{require_otp_vsn, "R13B04"}.
2 changes: 1 addition & 1 deletion templates/mochi.template
@@ -1,4 +1,4 @@
{variables, [{appid, "myapp"}, {nodeid, "mynode"}, {document_root, "site/www"}, {templates, "site/templates"}, {dev_path_prefix, "rel/overlay/"}, {erlgmail_conf, "etc/erlgmail.cfg"}]}.
{variables, [{appid, "myapp"}, {nodeid, "mynode"}, {document_root, "site/www"}, {templates, "site/templates"}, {dev_path_prefix, "rel/overlay/"}, {erlgmail_conf, "etc/erlgmail.cfg"}, {erlgmail_usr, "me@gmail.com"}, {erlgmail_pass, "password"}, {erlgmail_to, "mydefault@recipient"}]}.
{template, "mochi.app", "apps/{{appid}}/ebin/{{appid}}.app"}.
{template, "mochi_app.erl", "apps/{{appid}}/src/{{appid}}_app.erl"}.
{template, "mochi_sup.erl", "apps/{{appid}}/src/{{appid}}_sup.erl"}.
Expand Down

0 comments on commit cf3f1a2

Please sign in to comment.