Browse Source

Include Examples

old-stable
Mitesh Shah 12 years ago
parent
commit
61bc923901
  1. 92
      README.md

92
README.md

@ -13,47 +13,57 @@ curl -L http://goo.gl/FvARq | sudo bash
## Usage
`engine [system] [install|remove|purge] [nginx|php|mysql|postfix|--all]"`
`engine [site] [read] [all|active|sitename]"`
`engine [site] [create] [sitename] [--with-wordpress]"`
`engine [site] [update] [sitename] [single] [w3total|wpsuper|fastcgi]"`
`engine [site] [update] [sitename] [multi] []"`
`engine [site] [delete] [sitename] [--database|--webroot|--all]"`
`engine [config] [set|get] [memory|timeout]"`
### engine Commands:
`engine system` system-wide commands
`engine site` #site-specific commands
`engine config` configuration commands
### engine system
`engine system install [php mysql nginx apc postfix] [--all] [--source]`
`engine system upgrade [php mysql nginx apc postfix] [--all]`
`engine system remove [php mysql nginx apc postfix] [--all]`
`engine system purge [php mysql nginx apc postfix] [--all]`
### engine site
`engine site create <site-name> [--with-wordpress]`
`engine site read --active`
`engine site update <site-name>`
`engine site delete <site-name>`
`ee [system] [install|remove|purge] [nginx|php|mysql|postfix|--all]`
`ee [site] [read] [all|active|sitename]`
`ee [site] [create] [sitename] [--with-wordpress]`
`ee [site] [update] [sitename] [singlesite] [w3total|wpsuper|fastcgi]`
`ee [site] [update] [sitename] [multisite] [subdirectory|subdomain] [w3total|wpsuper|fastcgi]`
`ee [site] [delete] [sitename] [--database|--webroot|--all]`
`ee [config] [set|get] [memory|timeout]`
### engine commands:
`ee system` system-wide commands
`ee site` site-specific commands
`ee config` configuration commands
### ee system example
1. Install nginx
`ee system install nginx`
2. Insall nginx php mysql postfix
`ee system install --all`
### ee site example
1. List all the sites
`ee site read all`
2. List only active sites
`ee site read active`
3. Read nginx configuration for example.com
`ee site read example.com`
4. Create a domain
`ee site create example.com`
5. Create a wordpress site
`ee site create example.com --with-wordpress`
6. Update nginx configuration for w3total cache
`ee site update example.com singlesite w3total`
7. Delete site without any data loss
`ee site delete example.com`
### engine config

Loading…
Cancel
Save