fxa/packages/fxa-dev-launcher
dschom a3ae0fe74a
task(all): Get new syncstorage-rs service running
Because:
- Locally the sync service wasn't running.
- We couldn't test sync flows against a local sync server
- There's a new version of the sync server that uses rust

This Commit:
- Sets up a dockerfile for syncstorage-rs that is tailored to fxa's local stack
- Updates pm2 sync job to run this docker container and initialize its databases.
- Updates firefox config/profile to point at this service
- Starts firefox up with the FIREFOX_DEBUGGER=true env.
  - Useful for debugging sync
  - Useful for debugging FxA web channel messages
2024-08-27 09:57:20 -07:00
..
bin
.eslintignore
.eslintrc.json
.nsprc
README.md
package.json
profile.mjs

README.md

fxa-dev-launcher

Firefox Accounts Custom Profiles for Firefox

Use npm start to start Firefox with local server configurations. Available options:

  • FXA_ENV=local or latest or stable or stage or content (NOTE: local is default).
  • DISABLE_E10S=true - add this flag to turn off E10S. (NOTE: false by default).
  • FXA_DESKTOP_CONTEXT - context= value. (NOTE: fx_desktop_v2 is default).
  • FIREFOX_BIN=/Applications/FirefoxNightly.app/Contents/MacOS/firefox-bin npm start
  • FIREFOX_DEBUGGER=true - open the Browser Toolbox on start (NOTE: false by default for speed).
  • FXA_DESKTOP_CONTEXT - context value for the fxa-content-server: context=[value] (NOTE: fx_desktop_v3 is default).

Basic Usage Example in OS X

  • Download node.js
  • install it by following the steps in the .pkg installer.
  • Open Terminal and Run commands:
  • git clone https://github.com/vladikoff/fxa-dev-launcher.git
  • cd fxa-dev-launcher
  • yarn install
  • FXA_ENV=latest npm start

The above will start a firefox talking to latest.dev.lcip.org

Testing

This package does not currently have a test suite.