Install Lando

Mac

  • Ensure homebrew is installed and up-to-date.
  • Add the lando cask: brew cask install lando

Windows:

  • Download .exe file and install it from
    https://github.com/lando/lando/release

Now create a folder let’s say “pantheonlando” then go inside that folder and run lando init

After that it will ask following questions:

  • What recipe do you want to use? pantheon
    Choose pantheon.
  • Choose a Pantheon account: add a different token
    Choose: add a different token
  • Enter a Pantheon machine token [hidden]
    Enter the token, if you don’t have one, create at Pantheon and enter that token here.
  • Which site? webocreation-12
    It will list out all the sites in your pantheon account, choose one

With this, lando is initialized.

Import Pantheon Database, code, and files

It drops all the database and pulls the recent one and all the files uploaded.

Start your site:

In the terminal run:

BOOMSHAKALAKA!!! Your site is ready.

Now go to NGINX URLS, here as in the example it is http://localhost:32778 but yours can be different.

With these steps, developers can quickly specify and painlessly spin up the services and tools needed to develop their projects of the pantheon and test it locally.

If you got 500 Internal Server Error, you may have forgotten to run composer install or perform lando pull or check the files and folder permission.

Let us know if you find any issues so that we can try to find the solution for you.

Enjoy Lando, for more details visit https://docs.devwithlando.io/tutorials/pantheon.html.

Test Click



LEAVE A REPLY

Please enter your comment!
Please enter your name here