You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

104 lines
1.9 KiB

12 years ago
EasyEngine
==========
13 years ago
Admin tools for Nginx based wordpress sites management.
This is work in PROGRESS. This will break things on your end most likely!
## Install EasyEngine
curl -sL rt.cx/ee | sudo bash
12 years ago
# TODO
## Usage
12 years ago
`ee [system] [install|remove|purge] [nginx|php|mysql|postfix|--all]`
`ee [site] [read] [all|active|sitename]`
12 years ago
12 years ago
`ee [site] [create] [sitename] [--with-wordpress]`
12 years ago
12 years ago
`ee [site] [update] [sitename] [singlesite] [w3total|wpsuper|fastcgi]`
`ee [site] [update] [sitename] [multisite] [subdirectory|subdomain] [w3total|wpsuper|fastcgi]`
12 years ago
12 years ago
`ee [site] [delete] [sitename] [--database|--webroot|--all]`
`ee [site] [dis[aable]] [sitename] `
`ee [site] [en[able]] [sitename] `
12 years ago
`ee [config] [set|get] [memory|timeout]`
12 years ago
`ee [update]`
12 years ago
### engine commands:
`ee system` system-wide commands
`ee site` site-specific commands
`ee config` configuration commands
12 years ago
### ee system example:
* **Install nginx**
12 years ago
`ee system install nginx`
12 years ago
* **Insall nginx php mysql postfix**
12 years ago
`ee system install --all`
12 years ago
### ee site example:
12 years ago
12 years ago
* **List all the sites**
12 years ago
`ee site read all`
12 years ago
* **List only active sites**
12 years ago
`ee site read active`
12 years ago
* **Read nginx configuration for example.com**
12 years ago
`ee site read example.com`
12 years ago
* **Create a domain**
12 years ago
`ee site create example.com`
12 years ago
* **Create a wordpress site**
12 years ago
`ee site create example.com --with-wordpress`
12 years ago
* **Update nginx configuration for w3total cache**
12 years ago
`ee site update example.com singlesite w3total`
12 years ago
* **Delete site**
12 years ago
`ee site delete example.com`
12 years ago
12 years ago
12 years ago
### engine config:
12 years ago
`engine config set [memory | timeout] [value]`
12 years ago
12 years ago
`engine config get [[memory | timeout]|--all]`
12 years ago
12 years ago
`engine config --interactive` #reconfigure everything
12 years ago
### ee update:
12 years ago
* **Update easy engine**
12 years ago
`ee update`
12 years ago
## Files:
12 years ago
### Logs location:
Main Log: `/var/log/easyengine/main.log`
Debug Log: `/var/log/easyengine/debug.log`
12 years ago
Notes:
1. Folder /zzz contains some shell scripts by Pragati Sureka (a geekiest rtCamper)