# plexi.wordpress

> wordpress install & launcher

Latest version **0.1.6** (published 2015-02-24) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install plexi.wordpress
pnpm add plexi.wordpress
yarn add plexi.wordpress
bun add plexi.wordpress
```

Provides the command `wordpress`.

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.6 |
| Published | 2015-02-24 |
| First published | 2015-02-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 9 |
| Known vulnerabilities | 0 |
| Install scripts | yes |
| GitHub stars | 0 |
| Author | joje |
| Maintainers | attrs |
| Keywords | wordpress, php, plexi, attrs |

## Links

- npm: https://www.npmjs.com/package/plexi.wordpress
- Repository: https://github.com/attrs/plexi.wordpress
- Issues: https://github.com/attrs/plexi.wordpress/issues
- npm.io page: https://npm.io/package/plexi.wordpress

## Dependencies (9)

- [ini](https://npm.io/package/ini.md) ^1.3.2
- [chalk](https://npm.io/package/chalk.md) ^0.5.1
- [osenv](https://npm.io/package/osenv.md) ^0.1.0
- [wrench](https://npm.io/package/wrench.md) ^1.5.8
- [download](https://npm.io/package/download.md) ^3.3.0
- [inquirer](https://npm.io/package/inquirer.md) ^0.8.0
- [progress](https://npm.io/package/progress.md) ^1.1.8
- [attrs.util](https://npm.io/package/attrs.util.md) ^0.1.1
- [download-status](https://npm.io/package/download-status.md) ^2.1.0

## Recent versions

- 0.1.6 (latest) — 2015-02-24
- 0.1.5 — 2015-02-24
- 0.1.4 — 2015-02-24
- 0.1.3 — 2015-02-24
- 0.1.2 — 2015-02-12
- 0.1.1 — 2015-02-09
- 0.1.0 — 2015-02-02

## README

# plexi.wordpress

[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Gratipay][gratipay-image]][gratipay-url]
[![Build Status][travis-image-flat]][travis-url]

Automatically install & launch WordPress.

### Examples
#### Programmatically Launch
##### Installation
```sh
$ npm install plexi.wordpress --save
```

##### package usage
```js
var wordpress = Wordpress.create('example', {
	host: '127.0.0.1',
	port: 9200,
	docbase: path.resolve(process.cwd(), 'wordpress'),
	console: true
});

wordpress.ensureInstall(function(err) {
	if( err ) return util.error(err);
	
	wordpress.start();
});

// stop service
wordpress.stop();

// stop all instances
Wordpress.stopAll();
```

##### extra attrs/methods
```js
// current instance names
var names = Wordress.names();

// current instances
var instances = Wordress.instances();

// get insatnce by name
var wp = Wordress.get('example');

// get child process
var proc = wp.process;

// instance docbase
console.log(wp.docbase);

// instance host
console.log(wp.host);

// instance port
console.log(wp.port);

// instance status
console.log(wp.isRunning());

// process pid
console.log(wp.process.pid());
```

#### Install the executable
```sh
$ sudo npm install -g plexi.wordpress
$ wordpress
or
$ wordpress --port 8080 --host 127.0.0.1
.....
```

### License

  [MIT](LICENSE)
  

 [npm-image]: https://img.shields.io/npm/v/plexi.wordpress.svg?style=flat
 [npm-url]: https://npmjs.org/package/plexi.wordpress
 [downloads-image]: https://img.shields.io/npm/dm/plexi.wordpress.svg?style=flat
 [downloads-url]: https://npmjs.org/package/plexi.wordpress
 [travis-image-flat]: https://img.shields.io/travis/attrs/plexi.wordpress.svg?style=flat
 [travis-image]: https://travis-ci.org/attrs/plexi.wordpress.svg?branch=master
 [travis-url]: https://travis-ci.org/attrs/plexi.wordpress
 [gratipay-image]: https://img.shields.io/gratipay/teamattrs.svg?style=flat
 [gratipay-url]: https://gratipay.com/teamattrs/

---
_Source: https://npm.io/package/plexi.wordpress · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
