DEPRECATED - Migrated to https://github.com/mozilla/fxa
Перейти к файлу
Ryan Kelly 356f6ce32b Release v0.75.0 2016-11-30 11:03:42 +11:00
bin feat(newrelic): add optional newrelic integration (#222) r=vladikoff 2016-11-15 15:25:15 -05:00
config chore(config): remove obsolete awsbox config file (#215) 2016-10-28 22:31:04 -04:00
coverage add coverage reporting to grunt-mocha-test 2014-06-21 22:21:03 -07:00
docs fix(docs): remove old docs 2016-11-23 14:44:56 -05:00
lib fix(tests): add 410 gone tests 2016-11-23 14:41:35 -05:00
scripts fix(docker): Shrink docker image size (#220) r=vladikoff 2016-11-14 17:20:41 -05:00
tasks chore(release): bump version with 'grunt version' (#200) r=jrgm,vbudhram 2016-07-25 21:07:12 -04:00
test fix(tests): add 410 gone tests 2016-11-23 14:41:35 -05: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 fix(travis): build on node 4 and 6 2016-10-06 18:42:56 -07:00
CHANGELOG.md Release v0.75.0 2016-11-30 11:03:42 +11:00
CONTRIBUTING.md chore(release): bump version with 'grunt version' (#200) r=jrgm,vbudhram 2016-07-25 21:07:12 -04:00
Dockerfile feat(docker): Dockerfile and README update for basic docker development workflow 2015-02-10 22:14:54 -05:00
Dockerfile-build fix(docker): Shrink docker image size (#220) r=vladikoff 2016-11-14 17:20:41 -05:00
Dockerfile-test fix(docker): Shrink docker image size (#220) r=vladikoff 2016-11-14 17:20:41 -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 chore(docs): add circleci badge 2016-08-10 10:35:56 -04:00
circle.yml fix(docker): Shrink docker image size (#220) r=vladikoff 2016-11-14 17:20:41 -05:00
npm-shrinkwrap.json Release v0.75.0 2016-11-30 11:03:42 +11:00
package.json Release v0.75.0 2016-11-30 11:03:42 +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