зеркало из https://github.com/mozilla/fxa.git
Update README.md
This commit is contained in:
Родитель
ca80d1cc3d
Коммит
24fc5fc185
28
README.md
28
README.md
|
@ -1,7 +1,7 @@
|
|||
## fxa-local-dev
|
||||
## fxa-local-dev [![Build Status](https://travis-ci.org/vladikoff/fxa-local-dev.svg?branch=master)](https://travis-ci.org/vladikoff/fxa-local-dev)
|
||||
> An easy way to contribute to Firefox Accounts
|
||||
|
||||
[![Build Status](https://travis-ci.org/vladikoff/fxa-local-dev.svg?branch=master)](https://travis-ci.org/vladikoff/fxa-local-dev)
|
||||
|
||||
|
||||
### Getting Started
|
||||
|
||||
|
@ -13,16 +13,15 @@ git clone https://github.com/vladikoff/fxa-local-dev.git && cd fxa-local-dev &&
|
|||
|
||||
After installation completes you can visit [127.0.0.1:3030](http://127.0.0.1:3030/) and use the [PM2 tool](https://github.com/Unitech/PM2#main-features) 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 start servers.json` **- start all servers.**
|
||||
- ^ (WARNING: running the above command 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](https://github.com/Unitech/PM2#main-features).
|
||||
|
||||
### Updating projects to latest `master`
|
||||
|
||||
- Run `npm run update`.
|
||||
### Updating servers to `master`: `npm run update`.
|
||||
|
||||
### Firefox configurations
|
||||
|
||||
|
@ -35,18 +34,13 @@ Available options:
|
|||
|
||||
### Dependencies
|
||||
|
||||
[Git](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git), [node.js](http://nodejs.org/), Redis, libgmp.
|
||||
[Git](http://git-scm.com/book/en/v2/Getting-Started-Installing-Git),
|
||||
[node.js](http://nodejs.org/),
|
||||
[Redis](http://redis.io/),
|
||||
[libgmp](https://gmplib.org/).
|
||||
|
||||
#### OSX (with [Brew](http://brew.sh/))
|
||||
|
||||
```
|
||||
brew install gmp redis
|
||||
```
|
||||
#### OSX (with [Brew](http://brew.sh/)): `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
|
||||
```
|
||||
#### Ubuntu: `sudo apt-get install libgmp3-dev redis-server`
|
||||
|
|
Загрузка…
Ссылка в новой задаче