# evox

> Packaged Environment Manager - Generates packages from objects which can deploy to any framework across many languages.

Latest version **0.0.25** (published 2015-07-06) · MIT license · 0 weekly downloads

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

## Install

```sh
npm install evox
pnpm add evox
yarn add evox
bun add evox
```

Provides the command `evox`.

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.25 |
| Published | 2015-07-06 |
| First published | 2014-11-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 (+28 in 3 direct dependencies) |
| Install scripts | no |
| Author | Christian Blanquera |
| Maintainers | cblanquera |

## Links

- npm: https://www.npmjs.com/package/evox
- Repository: https://github.com/evelution/evox
- Issues: https://github.com/evelution/evox/issues
- npm.io page: https://npm.io/package/evox

## Dependencies (7)

- [tar](https://npm.io/package/tar.md) 1.0.2
- [mocha](https://npm.io/package/mocha.md) 1.20.1
- [edenjs](https://npm.io/package/edenjs.md) 0.0.36
- [prompt](https://npm.io/package/prompt.md) 0.2.14
- [request](https://npm.io/package/request.md) 2.48.0
- [chokidar](https://npm.io/package/chokidar.md) 0.10.5
- [handlebars](https://npm.io/package/handlebars.md) 2.0.0-alpha.4

## Recent versions

- 0.0.25 (latest) — 2015-07-06
- 0.0.24 — 2015-07-06
- 0.0.23 — 2014-12-29
- 0.0.22 — 2014-12-12
- 0.0.21 — 2014-12-12
- 0.0.20 — 2014-12-12
- 0.0.19 — 2014-12-11
- 0.0.18 — 2014-12-11
- 0.0.17 — 2014-11-28
- 0.0.16 — 2014-11-27
- 0.0.15 — 2014-11-27
- 0.0.14 — 2014-11-27
- 0.0.12 — 2014-11-27
- 0.0.11 — 2014-11-27
- 0.0.10 — 2014-11-27
- … 9 more at https://npm.io/package/evox/versions

## README

Evox
====

Packaged Environment Manager - Generates packages from objects which can deploy to any framework across many languages.

```
WARNING: Evox is in development and has not passed testing. DO NOT USE IN LIVE ENVIRONMENTS!
```

### Installation

 1. `$ sudo npm install -g nodemon`
 2. `$ sudo npm install -g phonegap`
 3. `$ sudo npm install -g evox`
 4. `$ sudo evox profile https://github.com/evelution/server`
 5. `$ sudo evox profile https://github.com/evelution/admin`
 6. `$ sudo evox profile https://github.com/evelution/web`
 7. `cd [PROJECT_DIRECTORY]`
 8. `$ evox create`
 9. Point Apache to deploy/admin
 10. Point Apache to deploy/web
 11. `$ evox`

### CLI Commands

```bash
 evox                          - Alias for "evox help"
 evox create [profile] [name]  - Creates an environment
 evox database                 - Adds a database to evox.json
 evox deploy                   - Deploys entire build to environments
 evox environment              - Updates environment settings.
 evox generate [name] [env]    - Generates a package given the 
								 schema.json in that same folder
 evox install [link]           - Installs package from remote
 sudo evox profile [link]      - Adds a profile
 evox relate [name]            - Generates a relational package given
								 the schema.json in that same folder
 evox remove [name]            - Removes package
 evox watch [name]             - Watches changes in [name] only
```

## Packages

Evox applications are built using event driven packages. Packages are 
objects or components used as building blocks to an application. Example 
packages can be thought of as `category`, `post`, `user`. Each package 
is event driven which allows other packages to easily interactive with 
each other.

In team environments it is best practice to divided members by packages. 
Since packages can be separately "turned of and on" bugs are easily 
manageable. 

### `evox install [link]`

##### Example

```
$ evox install https://github.com/evelution/address
```

Packages are maintained in a separate repository from evox. Valid 
parameters can be exclusively the GitHub repository link or a link 
to a tarball `.tar.gz` file. Some premade package examples are 
listed below.

 * https://github.com/evelution/address
 * https://github.com/evelution/auth
 * https://github.com/evelution/batch
 * https://github.com/evelution/block
 * https://github.com/evelution/category
 * https://github.com/evelution/file
 * https://github.com/evelution/product
 * https://github.com/evelution/post
 * https://github.com/evelution/user
 
Alternatively a tarball file can also be used in the absence of GitHub. 
Some examples of tarballs are listed below.

 * https://github.com/evelution/address/archive/master.tar.gz
 * https://github.com/evelution/auth/archive/master.tar.gz
 * https://github.com/evelution/batch/archive/master.tar.gz
 * https://github.com/evelution/block/archive/master.tar.gz
 * https://github.com/evelution/category/archive/master.tar.gz
 * https://github.com/evelution/file/archive/master.tar.gz
 * https://github.com/evelution/product/archive/master.tar.gz
 * https://github.com/evelution/post/archive/master.tar.gz
 * https://github.com/evelution/user/archive/master.tar.gz

### `evox generate [name] [env]`

Packages can be auto-generated if a `schema.json` is provided. A schema 
is either a definition of an object or a relation. Follow the instructions
below to create an example `category` package.

 1. Create a folder called `category` in `[PROJECT_DIRECTORY]/project`
 2. In `[PROJECT_DIRECTORY]/project/category` folder, create a file called `schema.json`
 3. Paste in the data from [here](https://github.com/evelution/category/schema.json)
 4. Run `evox generate category`

Follow the instructions below to create an example `category_user` relation package.

 1. Create a folder called `category_user` in `[PROJECT_DIRECTORY]/project`
 2. In `[PROJECT_DIRECTORY]/project/category_user` folder, create a file called `schema.json`
 3. Paste in the data from [here](http://pastie.org/9746893)
 4. Run `evox generate category_user`

## Environment Profile

### `sudo evox profile [link]`

Profiles are evnrionment platform templates used by evox to interact 
from a package folder to the actual deployable environments. This allows 
frameworks like Express or Backbone for example to interface with Evox 
packages seemlessly. Profiles are not limited to Node frameworks. A profile
can be created from any languange. It is possible to create a profile based on 
Wordpress, Django, Rails for example. Some premade package examples are listed below.

 * https://github.com/evelution/server
 * https://github.com/evelution/admin
 * https://github.com/evelution/web
 * https://github.com/evelution/phonegap

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