Monorepo for Firefox Accounts
Перейти к файлу
Vlad Filippov 3b57f97f6d update commands and dependency 2014-12-11 18:34:57 -05:00
_scripts speed up and fix redis-server 2014-11-12 14:55:44 -05:00
.gitignore speed up and fix redis-server 2014-11-12 14:55:44 -05:00
.travis.yml extend travis wait for build 2014-11-12 16:20:29 -05:00
README.md update commands and dependency 2014-12-11 18:34:57 -05:00
package.json update commands and dependency 2014-12-11 18:34:57 -05:00
servers.json speed up and fix redis-server 2014-11-12 14:55:44 -05:00

README.md

fxa-local-dev

An easy way to contribute to Firefox Accounts

Build Status

Getting Started

  • Install required system dependencies
  • Clone this repository and run npm install. Here is the full command:
git clone https://github.com/vladikoff/fxa-local-dev.git && cd fxa-local-dev && npm i

After installation completes you can visit 127.0.0.1:3030 and use the PM2 tool to start, stop and read server logs. Most common commands are as follows:

  • ./pm2 start servers.json - start all servers. (WARNING: running this multiple times will spawn more of the same servers).
  • ./pm2 kill - stop all servers.
  • ./pm2 status - display running servers.
  • ./pm2 logs - logs for all servers (note: this must be used to verify accounts).
  • ./pm2 logs 1 - display logs for process 1.
  • More commands on the PM2 Readme.

Dependencies

Git, node.js, Redis, libgmp.

OSX (with Brew)

brew install gmp redis

(You might also need to run xcode-select --install to get OS X Command Line Tools)

Ubuntu

sudo apt-get install libgmp3-dev redis-server