DEPRECATED - Migrated to https://github.com/mozilla/fxa
Перейти к файлу
John Morrison 2fbb0e336f Merge pull request #198 from jbuck/remove-git-config
chore(config): Remove unused git key from config
2016-07-21 15:49:34 -07:00
bin chore(convict): use .getProperties(), not deprecated .root() 2016-03-24 19:17:43 -07:00
config test(mocks): improve state of mocking in tests 2015-02-09 17:42:58 -08:00
coverage add coverage reporting to grunt-mocha-test 2014-06-21 22:21:03 -07:00
docs feat(docker): Additional Dockerfile for self-hosting 2016-01-26 09:41:07 +01:00
lib chore(config): Remove unused git key from config 2016-07-21 14:39:06 -04:00
scripts fix(dev): stop all child servers if one crashes 2016-07-21 14:58:16 -04:00
tasks fix(build): add grunt-nsp 2015-11-10 15:31:24 -05:00
test feat(docker): Add /__lbheartbeat__ endpoint for Dockerflow compatibility 2016-05-17 12:42:14 -04:00
.dockerignore feat(docker): Additional Dockerfile for self-hosting 2016-01-26 09:41:07 +01:00
.eslintrc chore(deps): Update all the dependencies 2016-02-15 17:05:55 +11:00
.gitignore test(mocks): improve state of mocking in tests 2015-02-09 17:42:58 -08:00
.jscs.json chore(deps): Update all the dependencies 2016-02-15 17:05:55 +11:00
.jshintrc review fixes, delete route, and more 2014-08-22 16:33:58 -07:00
.travis.yml chore(travis): remove node 0.12 support 2016-05-26 12:44:39 -04:00
CHANGELOG.md v0.63.0 2016-06-02 11:48:42 +10:00
CONTRIBUTING.md Update CONTRIBUTING.md 2014-08-18 15:19:54 -07:00
Dockerfile feat(docker): Dockerfile and README update for basic docker development workflow 2015-02-10 22:14:54 -05:00
Dockerfile-build chore(deps): Update Dockerfile to node@0.10.46 2016-07-14 15:53:35 -04:00
Gruntfile.js fix(build): remove shrinkwrap validate 2015-11-09 14:50:37 -05:00
LICENSE init profiles 2014-02-04 12:27:40 -08:00
README.md feat(docker): Dockerfile and README update for basic docker development workflow 2015-02-10 22:14:54 -05:00
circle.yml fix(docker): Output version.json in RPMflow and Dockerflow compatible locations 2016-07-11 17:29:02 -04:00
npm-shrinkwrap.json fix(deps): updating prod dependencies 2016-07-15 13:52:01 -04:00
package.json fix(deps): updating prod dependencies 2016-07-15 13:52:01 -04:00

README.md

Firefox Accounts Profile Service

Build Status

A server to provide common profile-related data for a Firefox Account. Such as name, avatar, location, age, gender, etc.

Development

Dependencies:

  • gm (GraphicsMagick)

Installation:

git clone https://github.com/mozilla/fxa-profile-server
cd fxa-profile-server
npm install

Docker Based Development

To run the profile server via Docker, two steps are required:

$ docker build --rm -t mozilla/fxa_profile_server
$ docker run --rm -v $PWD:/opt/fxa mozilla/fxa_profile_server npm install
$ docker run --rm -v $PWD:/opt/fxa --net=host mozilla/fxa_profile_server

This method shares the codebase into the running container so that you can install npm and various modules required by package.json. It then runs profile-server in a container, while allowing you to use your IDE of choice from your normal desktop environment to develop code.

Running tests:

npm test

To run tests via Docker:

docker run --rm -v $PWD:/opt/fxa --net=host mozilla/fxa_profile_server npm test

Running the server locally:

npm start

License

MPL v2.0