33Performs basic site functions in easyengine.
44
55` site ` command contains following subcommand
6- * [ ee site create] ( #ee-site-create )
7- * [ ee site delete] ( #ee-site-delete )
8- * [ ee site disable] ( #ee-site-disable )
9- * [ ee site enable] ( #ee-site-enable )
10- * [ ee site info] ( #ee-site-info )
11- * [ ee site list] ( #ee-site-list )
12- * [ ee site start] ( #ee-site-start )
13- * [ ee site stop] ( #ee-site-stop )
14- * [ ee site restart] ( #ee-site-restart )
15- * [ ee site reload] ( #ee-site-reload )
16-
17- #### ee site create
6+ * [ create] ( #ee-site-create )
7+ * [ delete] ( #ee-site-delete )
8+ * [ disable] ( #ee-site-disable )
9+ * [ enable] ( #ee-site-enable )
10+ * [ info] ( #ee-site-info )
11+ * [ list] ( #ee-site-list )
12+ * [ start] ( #ee-site-start )
13+ * [ stop] ( #ee-site-stop )
14+ * [ restart] ( #ee-site-restart )
15+ * [ reload] ( #ee-site-reload )
16+
17+ ## create
1818Runs the site creation.
1919
2020``` bash
@@ -36,36 +36,36 @@ ee site create example.com --wpredis --le # install wordpress with page ca
3636ee site create example.com --wpsubdom --le # install wordpress wpmu-subdomain + wildcard letsencrypt ssl
3737```
3838
39- #### ee site delete
39+ ## delete
4040Deletes an existing EasyEngine site including the webroot and the database.
4141
4242``` bash
4343ee site delete example.com # Asks for confirmation.
4444ee site delete example.com --yes # Skips the confirmation prompt.
4545```
4646
47- #### ee site disable
47+ ## disable
4848Disables 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.
4949
5050``` bash
5151ee site disable example.com
5252```
5353
54- #### ee site enable
54+ ## enable
5555Enables a website. It will start the docker containers of the website if they are stopped.
5656
5757``` bash
5858ee site enable example.com
5959```
6060
61- #### ee site info
61+ ## info
6262Display all the relevant site information, credentials and useful links.
6363
6464``` bash
6565ee site info example.com
6666```
6767
68- #### ee site list
68+ ## list
6969Lists the created websites.
7070
7171``` bash
@@ -75,31 +75,31 @@ ee site list --enabled # List enabled sites
7575ee site list --disabled # List disabled sites
7676```
7777
78- #### ee site start
78+ ## start
7979Starts services associated with site.
8080
8181``` bash
8282ee site start example.com # Defaults to all services
8383ee site start example.com --nginx
8484```
8585
86- #### ee site stop
86+ ## stop
8787Stops services associated with site.
8888
8989``` bash
9090ee site stop example.com # Defaults to all services
9191ee site stop example.com --mailhog
9292```
9393
94- #### ee site restart
94+ ## restart
9595Restarts containers associated with site. This action will have a few seconds of downtime.
9696
9797``` bash
9898ee site restart example.com # Defaults to all services
9999ee site restart example.com --nginx
100100```
101101
102- #### ee site reload
102+ ## reload
103103Reload services in containers without restarting container(s) associated with site.
104104
105105``` bash
0 commit comments