Skip to content
This repository has been archived by the owner on May 10, 2019. It is now read-only.

Commit

Permalink
first pass at sketching up new features required in awsbox to get thi…
Browse files Browse the repository at this point in the history
…s thing ported
  • Loading branch information
lloyd committed May 30, 2012
1 parent a2d6bd3 commit cbfeb53
Show file tree
Hide file tree
Showing 11 changed files with 40 additions and 647 deletions.
23 changes: 23 additions & 0 deletions .awsbox.json
@@ -0,0 +1,23 @@
{
"processes": [
"bin/router",
"bin/proxy",
"bin/dbwriter",
"bin/keysigner",
"bin/verifier",
"bin/browserid"
],
"env": {
"CONFIG_FILES": "$HOME/code/config/production.json,$HOME/code/config/aws.json,$HOME/config.json"
},
"remote_hooks": {
"postdeploy": "scripts/awsbox/post_deploy.js",
"poststart": "scripts/show_config.js"
},
"local_hooks": {
"postcreate": "scripts/awsbox/post_create.js"
},
"packages": [
"mysql-server"
]
}
3 changes: 1 addition & 2 deletions package.json
Expand Up @@ -35,9 +35,8 @@
"winston": "0.5.6"
},
"devDependencies": {
"xml2js": "0.1.13",
"vows": "0.5.13",
"aws-lib": "0.0.5",
"awsbox": "0.0.10",
"irc": "0.3.3"
},
"scripts": {
Expand Down
16 changes: 16 additions & 0 deletions scripts/awsbox/post_deploy.js
@@ -0,0 +1,16 @@
#!/bin/bash

if [ ! -f $HOME/var/root.cert ] ; then
echo ">> generating keypair"
scripts/generate_ephemeral_keys.sh
mv var/root.{cert,secretkey} $HOME/var
else
echo ">> no keypair needed. you gots one"
fi

echo ">> updating strings"
svn co -q http://svn.mozilla.org/projects/l10n-misc/trunk/browserid/locale
./locale/compile-mo.sh locale/

echo ">> generating production resources"
scripts/compress
155 changes: 0 additions & 155 deletions scripts/deploy.js

This file was deleted.

7 changes: 0 additions & 7 deletions scripts/deploy/aws.js

This file was deleted.

83 changes: 0 additions & 83 deletions scripts/deploy/dns.js

This file was deleted.

0 comments on commit cbfeb53

Please sign in to comment.