Skip to content

Instantly share code, notes, and snippets.

@raphaellarrinaga
Last active January 9, 2019 08:22
Show Gist options
  • Save raphaellarrinaga/29b4841dcb2f8be9e3b522a2e48d135a to your computer and use it in GitHub Desktop.
Save raphaellarrinaga/29b4841dcb2f8be9e3b522a2e48d135a to your computer and use it in GitHub Desktop.
Lando helpers

Lando helpers

@see commandes https://thinktandem.io/blog/2017/10/23/killer-d8-workflow-using-lando-and-platform-sh/

Run behat tests

Lancer la commande lando behat à partir du dossier /tests. Ou lancer la commande lando behat --config=tests/behat.yml à partir de la root.

Import a 2nd db

lando db-import web/backup-2018-12-18T10-50-19.mysql
lando db-import backup-civicrm-2018-12-18T10-50-19.mysql --no-wipe

Configure civiCRM

$ lando info

Utiliser les credentials suivants pour configurer solr

    "internal_connection": {
      "core": "etuc_live",
      "host": "search",
      "port": 8983
    },
    "external_connection": {
      "core": "etuc_live",
      "host": "localhost",
      "port": 9998
    },

Sous /admin/config/search/search-api/server/solr_content_server/edit?destination=/en/admin/config/search/search-api.

  • Solr host : search
  • Solr port : 8983
  • Solr path : /solr
  • Solr core : etuc_live
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment