Skip to content

eikona-media/lando-eimed-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

EIKONA Media Lando Toolkit Plugin

This is a plugin for https://github.com/lando/lando.

Toolings

Sync database and files

Clone the repository to your plugins directory:

git clone [email protected]:eikona-media/lando-eimed-toolkit.git ~/.lando/plugins/lando_eimed_toolkit

or clone with https:

git clone https://github.com/eikona-media/lando-eimed-toolkit.git ~/.lando/plugins/lando_eimed_toolkit

Copy the configuration sync.env to your project:

cp ~/.lando/plugins/lando_eimed_toolkit/scripts/sync.env [project_dir]/.lando/sync.env

Remove all active default variables which you don't want to overwrite. Uncomment all inactive variables and configure them to use the sync!

Add the tooling to your .lando.yml:

tooling:
    sync:
        service: appserver
        description: Sync database and files between remote and local
        cmd: /helpers/sync.sh
        user: root

Now you should be able to call lando sync in your project!

Advanced usage

You can override variables in your own .lando.local.yml - e.g.

services:
    appserver:
        overrides:
            environment:
                SYNC_SSH_USER: "xxxxx"
                SYNC_REMOTE_USE_SUDO: ""

Known issues

If you have installed the plugin in ~/.lando/plugins/lando-eimed-toolkit you should rename the path because of lando/lando#3394

mv ~/.lando/plugins/lando-eimed-toolkit ~/.lando/plugins/lando_eimed_toolkit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published