Giter Club home page Giter Club logo

site-command's Introduction

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

site-command's People

Contributors

dharmin avatar kirtangajjar avatar mbtamuli avatar mrrobot47 avatar rahulsprajapati avatar sagarnasit avatar thrijith avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.