@lando/platformsh
v0.9.0
Published
A Lando plugin that provides a tight integration with Platform.sh.
Downloads
6,790
Readme
Platform.sh Lando Plugin
This 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.
Basic Usage
Clone a project down from Platform.sh.
# Make and go into an empty directory
mkdir myproject && cd myproject
# Clone down code from Platform.sh
lando init --source
# Start the project up
lando start
# Pull down relationships and mounts
lando pull
Once your project is running you can access relevant tooling commands.
# Run platform cli commands
lando platform auth:info
# Note 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.
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:
Issues, Questions and Support
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.
Changelog
We try to log all changes big and small in both THE CHANGELOG and the release notes.
Development
If you're interested in working on this plugin then we recommend you check out the development guide.
Contributors
Made with contributors-img.