Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.23 KB

README.md

File metadata and controls

29 lines (20 loc) · 1.23 KB

A demo of Firefox Accounts OAuth

Running locally

  1. Complete prerequisites for running FxA
  2. Run the server: yarn start
  3. Visit it in your browser: http://localhost:8080/
  4. Hack and reload! (web resources don't require a server restart)

Ansible Deployment

See fxa-dev 123done Ansible configuration for details.

Heroku Deployment

  1. Signup for heroku
  2. Install heroku cli and login
  3. Create heroku app for 123done trusted and untrusted clients
  4. Create a new config for each 123done app
  5. Set heroku app env value CONFIG_123DONE=relative/path/to/config for each app
  6. Add heroku multipack support heroku buildpacks:add -a <app> https://github.com/heroku/heroku-buildpack-multi-procfile
  7. Set heroku app env value PROCFILE=relative/path/to/Procfile/in/your/codebase
  8. Deploy with git push heroku main

Testing

This package does not currently have a test suite.

Run npm test to lint the code.