A Lando plugin that provides a tight integration with Platform.sh.
npm install @lando/platformshThis is the _official_ Lando plugin for Platform.sh. When installed it...
* Allows users to spin up their Platform.sh projects for development with Lando
* Allows users to sync database relationships and mounts between Platform.sh and Lando
* Uses Platform.sh's own images for extremely close parity with production
* Uses Platform.sh's own configuration files to determine what Lando should run and do
* Provides users with relevant and containerized tooling commands
Of course, once a user is running their Platform.sh project with Lando they can take advantage of all the other awesome development features Lando provides.
Clone a project down from Platform.sh.
``bashMake and go into an empty directory
mkdir myproject && cd myproject
Once your project is running you can access relevant tooling commands.
`bash
Run platform cli commands
lando platform auth:infoNote that mysql is the name of a relationship defined in .platform.yaml
Access relationships directly
lando mysql main -e "show tables;"
Manually importing a database
lando mysql main < dump.sql
`You can also override Platform.sh configuarion in your Landofile with things that make more sense for development.
`yaml
name: platformsh-drupal8
recipe: platformsh
config:
id: PROJECTID
overrides:
app:
variables:
env:
APP_ENV: dev
d8settings:
skip_permissions_hardening: 1
db:
configuration:
properties:
max_allowed_packet: 63
``For more info you should check out the docs:
* Getting Started
* Configuration
* Tooling
* Syncing
* Caveats
* Guides
* Examples
* Development
If you have a question or would like some community support we recommend you join us on Slack.
If you'd like to report a bug or submit a feature request then please use the issue queue in this repo.
We try to log all changes big and small in both THE CHANGELOG and the release notes.
If you're interested in working on this plugin then we recommend you check out the development guide.
Made with contributors-img.