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

...

Info

Mac users may use Pantheon Localdev for local development as an alternative to the following Lando instructions.

Instructions for Using Lando

Info

Hardware requirements: https://docs.lando.dev/basics/installation.html#hardware-requirements

  • Generate and add an SSH key to your Pantheon account.

  • Install Lando and the Docker version that comes with it. Lando v3.11.0.5 has been tested on Windows, Mac, and Linux. Other versions will not be supported.

  • Install Git.

...

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

Troubleshooting

Cannot Create Directory

If you encounter this Windows error after downloading and importing the site's database and content files:

...

Resolving this will require manually creating the symbolic link.

In Git Bash, run the following commands:

Code Block
rm web
Code Block
ln -s docroot web

Proceed again with downloading and importing the site's database and content files:

Code Block
lando pull --code=none --database=dev --files=dev

Note

If you have to use this fix, make sure your code edits are reflected in the /web/ folder in addition to /docroot/ to test changes locally.