fxa/packages/123done
John Morrison 423699f8ea feat(ansible): ansible configuration to deploy {123done,321done}-stage.dev.lcip.org 2016-03-06 11:54:15 -08:00
..
ansible feat(ansible): ansible configuration to deploy {123done,321done}-stage.dev.lcip.org 2016-03-06 11:54:15 -08:00
scripts fix(keys): switch to node-rsa from jwcrypto for gen_keys.js 2015-12-29 16:03:12 -05:00
static fix(app): move "choose sign-in" above signup/signin buttons 2016-01-18 18:25:32 -08:00
.awsbox.json Merge pull request mozilla/123done#124 from jrgm/gmp-devel 2015-02-26 14:11:58 -08:00
.bowerrc
.eslintignore fix(travis): add travis and eslint to repo 2015-12-11 14:45:21 -05:00
.eslintrc fix(travis): add travis and eslint to repo 2015-12-11 14:45:21 -05:00
.gitignore chore(git): update .gitignore 2015-12-29 14:25:44 -05:00
.travis.yml fix(travis): add travis and eslint to repo 2015-12-11 14:45:21 -05:00
README.md fix(docs): update title, fix description 2015-12-22 11:10:38 -05:00
bower.json bump to "fxa-relier-client": "0.0.8" 2015-04-30 15:37:35 -04:00
config-local-untrusted.json feat(relier): Request the "display name" permission in the untrusted relier. 2016-02-18 12:10:37 +00:00
config-local.json fix(config): config-local.json should have the same keys as config.json 2015-03-16 12:13:37 -07:00
config.js fix(travis): add travis and eslint to repo 2015-12-11 14:45:21 -05:00
config.json
oauth.js fix(travis): add travis and eslint to repo 2015-12-11 14:45:21 -05:00
package.json fix(keys): switch to node-rsa from jwcrypto for gen_keys.js 2015-12-29 16:03:12 -05:00
retarget.js fix(travis): add travis and eslint to repo 2015-12-11 14:45:21 -05:00
server.js fix(travis): add travis and eslint to repo 2015-12-11 14:45:21 -05:00

README.md

A demo of Firefox Accounts OAuth

Build Status

running locally

  1. install git, node and redis
  2. get a local copy of the repository: git clone https://github.com/mozilla/123done
  3. cd 123done
  4. install dependencies: npm install
  5. generate keys node scripts/gen_keys.js
  6. run the server: npm start
  7. visit it in your browser: http://127.0.0.1:8080/
  8. hack and reload! (web resources don't require a server restart)

deploying to a hosted environment

123done is all set up to deploy quickly and painlessly on amazon EC2 via awsbox.

While full documentation for awsbox is contained within that project, Here is a sample command line that might work for you:

node_modules/.bin/awsbox create \
    -u http://123done.org \
    --ssl disable \
    -n 123done \
    -t m1.small \
    --keydir $HOME/.persona_secrets/pubkeys/ 

What do these arguments do?

  • -u specifies the public URL of the instance
  • --ssl set to disable removes SSL support from the VM
  • -n 123done sets 123done as a human visible nickname for the VM
  • -t m1.small specifies a cheap VM that has enough oomph to run the service under load (like from automated tests running)
  • (optional) --keydir specifies a directory where all of the public keys of your colleages reside, so they can administer the VM while you're on vacation.

Ansible Deployment

See fxa-dev 123done Ansible configuration for details.