DEPRECATED - Migrated to https://github.com/mozilla/fxa
Перейти к файлу
Shane Tomlinson 039dfb5761 Remove JST processing. 2013-12-11 10:59:43 +00:00
app Start a constants.js file to put constants in. 2013-12-10 10:54:02 +00:00
scripts In the startup script, delete the port so that travis is happy 2013-12-09 12:18:54 +00:00
server add static directory configuration param and fix awsbox config 2013-12-10 15:08:32 -08:00
tests Update for latest dev deployment server names. 2013-11-19 14:15:42 +11:00
.awsbox.json add static directory configuration param and fix awsbox config 2013-12-10 15:08:32 -08:00
.bowerrc Fixed gitignore. Added .bowerrc. 2013-12-04 14:17:06 -08:00
.editorconfig Generated basic Yeoman project. 2013-12-04 11:55:48 -08:00
.gitattributes Generated basic Yeoman project. 2013-12-04 11:55:48 -08:00
.gitignore Fixed gitignore. Added .bowerrc. 2013-12-04 14:17:06 -08:00
.jshintrc Translations proof of concept. 2013-12-05 15:57:13 -08:00
.travis.yml third time's the charm. bad copy/paste of repo names on my part. 2013-11-14 15:41:00 -08:00
Gruntfile.js Remove JST processing. 2013-12-11 10:59:43 +00:00
README.md Update for latest dev deployment server names. 2013-11-19 14:15:42 +11:00
bower.json Added example transition animation to intro. 2013-12-06 09:25:57 -08:00
package.json Remove JST processing. 2013-12-11 10:59:43 +00:00

README.md

Firefox Accounts Content Server

Build Status

Static server that hosts Firefox Account sign up, sign in, email verification, etc. flows.

Prerequisites

Development Setup

npm install
npm start

Testing

Setup

There is quite a bit of setup to do before you can test this service, which is non-optimal, but for now:

  • Run Selenium Server: java -jar selenium-server-standalone-2.35.0.jar (see Prerequisites)
  • Run the Firefox Account Bridge locally: npm start
  • Run an instance of the fxa-auth-server at 127.0.0.1:9000.

Running the tests

  • Integration tests between the FAB and fxa-auth-server: npm test
  • Functional tests: npm run-script test-functional

Configuration

The default auth server is http://api-accounts.dev.lcip.org. To change this, edit config.json on your deployed instance.

{
  'fxaccount_url': 'http://your.auth.server.here.org'
}