DEPRECATED - Migrated to https://github.com/mozilla/fxa
Перейти к файлу
Sean McArthur d2bbf6939b Merge pull request #179 from mozilla/175-oidc-userinfo
feat(openid): make /v1/profile act as the OIDC UserInfo endpoint
2015-12-17 11:11:02 -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(openid): make /v1/profile act as the OIDC UserInfo endpoint 2015-12-17 10:51:13 -08:00
lib feat(openid): make /v1/profile act as the OIDC UserInfo endpoint 2015-12-17 10:51:13 -08:00
scripts chore(version): generate legacy-format output for ./config/version.json 2015-09-07 22:50:42 -07:00
tasks fix(build): add grunt-nsp 2015-11-10 15:31:24 -05:00
test feat(openid): make /v1/profile act as the OIDC UserInfo endpoint 2015-12-17 10:51:13 -08: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): update to use nosudo travis infra 2015-12-17 09:53:26 -08:00
CHANGELOG.md v0.50.1 2015-12-01 13:42:31 -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.50.1 2015-12-01 13:42:31 -08:00
package.json v0.50.1 2015-12-01 13:42:31 -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