зеркало из https://github.com/mozilla/fxa.git
1.4 KiB
1.4 KiB
fxa-local-dev
An easy way to contribute to Firefox Accounts
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 process1
.- More commands on the PM2 Readme.
Dependencies
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