DEPRECATED - Migrated to https://github.com/mozilla/fxa
Перейти к файлу
Sean McArthur b967e25c1f Merge pull request #162 from vladikoff/i98
fix(worker): disable gzip encoding on requests to local worker
2015-11-09 13:31:47 -08:00
bin feat(events): add events to delete user data when account is deleted 2015-08-17 12:01:06 -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(display_name): return 204 if user does not have a display name 2015-10-01 10:47:51 -07:00
lib Merge pull request #162 from vladikoff/i98 2015-11-09 13:31:47 -08:00
scripts chore(version): generate legacy-format output for ./config/version.json 2015-09-07 22:50:42 -07:00
tasks chore(build): Replace JSHint with ESLint 2015-06-17 00:27:17 -07:00
test fix(avatars): add configuration to adjust avatar upload size 2015-10-20 09:06:59 -07:00
.eslintrc chore(build): Tweak ESLint config to disable global consistent-this rule 2015-06-17 16:17:10 -07:00
.gitignore test(mocks): improve state of mocking in tests 2015-02-09 17:42:58 -08:00
.jscs.json Adding npm shrinkwrap and updating deps 2014-07-18 14:18:33 -07:00
.jshintrc review fixes, delete route, and more 2014-08-22 16:33:58 -07:00
.travis.yml chore(travis): use npm@2 for more stable installs 2015-07-19 13:12:00 -07:00
CHANGELOG.md v0.49.0 2015-11-03 15:56:48 -08: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
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
npm-shrinkwrap.json v0.49.0 2015-11-03 15:56:48 -08:00
package.json v0.49.0 2015-11-03 15:56:48 -08: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