DEPRECATED - Migrated to https://github.com/mozilla/fxa
Перейти к файлу
Ryan Kelly be05ed72d4
Merge branch 'master' into filtered-npm-audit
Commit message edited in order to re-trigger circleci build.
2018-10-26 10:00:53 +11:00
.circleci Dockerpush fix docker use base builder run npm ls production (#330) r=@vladikoff 2018-07-16 11:07:56 -04:00
bin fix(config): mark config sentryDsn and mysql password sensitive (#298) r=@vladikoff 2018-01-11 19:54:41 -05:00
config feat(cache): request caching for profile (#253) r=vladikoff 2017-06-19 13:58:30 -04:00
coverage add coverage reporting to grunt-mocha-test 2014-06-21 22:21:03 -07:00
docs fix(docs): Include "displayName" in example profile response. (#326) r=@vladikoff,@eoger 2018-06-19 22:33:24 -04:00
lib feat(profile): invalidate cache when profileChangedAt is older than id token value 2018-10-02 13:12:39 -04:00
scripts chore(tests): Use nyc for code coverage. 2018-03-28 17:47:30 +11:00
tasks fix(ci): remove nsp 2018-09-17 17:34:04 -04:00
test fix(deps): update to latest Sinon 2018-10-16 18:20:24 -04:00
.dockerignore feat(docker): Additional Dockerfile for self-hosting 2016-01-26 09:41:07 +01:00
.eslintrc refactor(lint): remove jscs, update eslint rules 2017-08-25 07:12:17 -04:00
.gitignore chore(tests): Use nyc for code coverage. 2018-03-28 17:47:30 +11:00
.nsprc fix(deps): add filtered npm audit 2018-10-22 17:22:17 -04:00
.travis.yml fix(deps): add filtered npm audit 2018-10-22 17:22:17 -04:00
CHANGELOG.md Release v1.123.0 2018-10-16 12:32:11 -04:00
CONTRIBUTING.md chore(release): bump version with 'grunt version' (#200) r=jrgm,vbudhram 2016-07-25 21:07:12 -04:00
Dockerfile-build Dockerpush fix docker use base builder run npm ls production (#330) r=@vladikoff 2018-07-16 11:07:56 -04:00
Dockerfile-test Dockerpush fix docker use base builder run npm ls production (#330) r=@vladikoff 2018-07-16 11:07:56 -04:00
Gruntfile.js chore(tests): Use nyc for code coverage. 2018-03-28 17:47:30 +11:00
LICENSE init profiles 2014-02-04 12:27:40 -08:00
README.md chore(docs): add circleci badge 2016-08-10 10:35:56 -04:00
npm-shrinkwrap.json Merge branch 'master' into filtered-npm-audit 2018-10-26 10:00:53 +11:00
package.json Merge branch 'master' into filtered-npm-audit 2018-10-26 10:00:53 +11:00

README.md

Firefox Accounts Profile Service

Build Status CircleCI Docker Image 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