Performs basic site functions in easyengine.
site
command contains following subcommand
Runs the site creation.
Check this for --type=wp
support package.
ee site create example.com # install html site (default)
ee site create example.com --type=wp # install wp site
Let's Encrypt SSL
# Enable SSL using Let’s Encrypt (You can add --letsencrypt along with any other flag.)
ee site create example.com [--letsencrypt|--le]
ee site create example.com --le # install wordpress without any page caching + letsencrypt ssl
Deletes an existing EasyEngine site including the webroot and the database.
ee site delete example.com # Asks for confirmation.
ee site delete example.com --yes # Skips the confirmation prompt.
Disables a website. It will stop all containers which will free up resources used by this site. The site's data stored in the disk will still be safe.
ee site disable example.com
Enables a website. It will start the docker containers of the website if they are stopped.
ee site enable example.com
Display all the relevant site information, credentials and useful links.
ee site info example.com
Lists the created websites.
ee site list # Lists all sites (default: tabular format)
ee site list --format=[count|csv|json|table|text|yaml] # Lists all sites in a particular format
ee site list --enabled # List enabled sites
ee site list --disabled # List disabled sites
Starts services associated with site.
ee site up example.com # Defaults to all services
ee site up example.com --nginx
Stops services associated with site.
ee site down example.com # Defaults to all services
ee site down example.com --mailhog
Restarts containers associated with site. This action will have a few seconds of downtime.
ee site restart example.com # Defaults to all services
ee site restart example.com --nginx
Reload services in containers without restarting container(s) associated with site.
ee site reload example.com # Defaults to all services
ee site reload example.com --nginx