Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The local development stack allows college developers to update the theme for their College’s website. This capability should mainly be used to modify CSS for branding imagery and custom page-specific styles.

Instructions

Getting Access to

...

Your College Pantheon Site

Before using the local development stack for the first time, you will need to complete the following steps:

Note

Must use DO VPN to connect to Dev CDN FTP. College VPNs don't work.

Running the Local Development Environment

Get the Code

  • Sign into the Pantheon Dashboard.

  • Select the “Organizations” tab below your username and follow the “Maricopa Community College” link.

  • Locate your Site Name and click the name to open the site dashboard.

  • Find the “Clone with Git” button and use the code to clone your site’s code in a terminal.

Running Lando

Start Lando.

Code Block
lando start

Once up and running, Lando will return the site URL. Look under "APPSERVER URLS" for the address to use in your browser. It will be similar to: http://[app].lndo.site.

Download and import the site's database and content files.

Code Block
lando pull

Logging into Drupal

Google Auth will not be available in your development environment. Use the following drush command to login with your MEID:

Code Block
lando drush uli meid123456

Rebuilding the Dev Environment

When Lando stops working you may need to rebuild the service containers. Do the following procedure to wipe your Lando instance and build a fresh install. Warning: This procedure will delete your database contents and all Lando/Docker images.

Code Block
lando poweroff
lando destroy
docker system prune
lando start
lando pull