LockeAG / site-command

Performs basic site functions in easyengine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EasyEngine/site-command

Performs basic site functions in easyengine.

site command contains following subcommand

create

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

delete

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.

disable

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

enable

Enables a website. It will start the docker containers of the website if they are stopped.

ee site enable example.com

info

Display all the relevant site information, credentials and useful links.

ee site info example.com

list

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 

up

Starts services associated with site.

ee site up example.com		# Defaults to all services
ee site up example.com --nginx

down

Stops services associated with site.

ee site down example.com		# Defaults to all services
ee site down example.com --mailhog

restart

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

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

About

Performs basic site functions in easyengine


Languages

Language:PHP 69.9%Language:Shell 15.2%Language:Gherkin 8.3%Language:HTML 6.6%