59 lines
990 B
Markdown
59 lines
990 B
Markdown
# xo-server-load-balancer [](https://travis-ci.org/vatesfr/xo-server-load-balancer)
|
|||
|
|
|
||
|
|
XO-Server plugin that allows load balancing.
|
||
|
|
|
||
|
|
## Install
|
||
|
|
|
||
|
|
Go inside your `xo-server` folder and install it:
|
||
|
|
|
||
|
|
```
|
||
|
|
> npm install xo-server-load-balancer
|
||
|
|
```
|
||
|
|
|
||
|
|
## Usage
|
||
|
|
|
||
|
|
Edit your `xo-server` configuration and add the plugin name in the `plugins` section.
|
||
|
|
|
||
|
|
```yaml
|
||
|
|
plugins:
|
||
|
|
|
||
|
|
xo-server-load-balancer:
|
||
|
|
```
|
||
|
|
|
||
|
|
## Development
|
||
|
|
|
||
|
|
### Installing dependencies
|
||
|
|
|
||
|
|
```
|
||
|
|
> npm install
|
||
|
|
```
|
||
|
|
|
||
|
|
### Compilation
|
||
|
|
|
||
|
|
The sources files are watched and automatically recompiled on changes.
|
||
|
|
|
||
|
|
```
|
||
|
|
> npm run dev
|
||
|
|
```
|
||
|
|
|
||
|
|
### Tests
|
||
|
|
|
||
|
|
```
|
||
|
|
> npm run test-dev
|
||
|
|
```
|
||
|
|
|
||
|
|
## Contributions
|
||
|
|
|
||
|
|
Contributions are *very* welcomed, either on the documentation or on
|
||
|
|
the code.
|
||
|
|
|
||
|
|
You may:
|
||
|
|
|
||
|
|
- report any [issue](https://github.com/vatesfr/xo-server-load-balancer/issues)
|
||
|
|
you've encountered;
|
||
|
|
- fork and create a pull request.
|
||
|
|
|
||
|
|
## License
|
||
|
|
|
||
|
|
AGPL3 © [Vates SAS](http://vates.fr)
|