Edge for Private Cloud v4.19.01
Drush is the Drupal command line interface. You can use it to perform many tasks as a Drupal administrator. Drush is installed for you when you install Apigee Developer Services portal (or simply, the portal).
How to run Drush commands
You must run Drush commands from the root directory of the portal site. By default, the portal is installed at:
Therefore, you should first change directory to the correct root directory before running Drush commands.
Example Drush Commands
The following table lists common Drush commands:
|Check Drupal status.
drush archive-dump --destination=../tmp/dc.tar
|Back up Drupal to a specific location.
|Return the Edge organization associated with the portal.
drush dc-setorg org_name
|Set the Edge organization associated with the portal.
|Get the Edge organization administrator username (email address) and password associated with the portal.
drush dc-setauth org_admin_email
|Set the Edge organization administrator username (email address). You will be prompted to set the password.
|Get the Edge endpoint associated with the portal.
drush dc-setend http://server_endpoint:8080/v1
|Set the Edge endpoint associated with the portal.
|Test the connection from the portal to the Edge organization using the organization administrator's credentials.