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 ## Usage
`engine [system] [install|remove|purge] [nginx|php|mysql|postfix|--all]"` `ee [system] [install|remove|purge] [nginx|php|mysql|postfix|--all]`
`engine [site] [read] [all|active|sitename]"` `ee [site] [read] [all|active|sitename]`
`ee [site] [create] [sitename] [--with-wordpress]`
`engine [site] [create] [sitename] [--with-wordpress]"` `ee [site] [update] [sitename] [singlesite] [w3total|wpsuper|fastcgi]`
`ee [site] [update] [sitename] [multisite] [subdirectory|subdomain] [w3total|wpsuper|fastcgi]`
`engine [site] [update] [sitename] [single] [w3total|wpsuper|fastcgi]"` `ee [site] [delete] [sitename] [--database|--webroot|--all]`
`engine [site] [update] [sitename] [multi] []"` `ee [config] [set|get] [memory|timeout]`
`engine [site] [delete] [sitename] [--database|--webroot|--all]"` ### engine commands:
`engine [config] [set|get] [memory|timeout]"` `ee system` system-wide commands
### engine Commands: `ee site` site-specific commands
`engine system` system-wide commands `ee config` configuration commands
`engine site` #site-specific commands ### ee system example
`engine config` configuration commands 1. Install nginx
`ee system install nginx`
### engine system
2. Insall nginx php mysql postfix
`engine system install [php mysql nginx apc postfix] [--all] [--source]` `ee system install --all`
`engine system upgrade [php mysql nginx apc postfix] [--all]`
### ee site example
`engine system remove [php mysql nginx apc postfix] [--all]`
1. List all the sites
`engine system purge [php mysql nginx apc postfix] [--all]` `ee site read all`
### engine site 2. List only active sites
`ee site read active`
`engine site create <site-name> [--with-wordpress]`
3. Read nginx configuration for example.com
`engine site read --active` `ee site read example.com`
`engine site update <site-name>` 4. Create a domain
`ee site create example.com`
`engine site delete <site-name>`
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 ### engine config

Loading…
Cancel
Save