Skip to content

rogeruiz/pantheon-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pantheon ♥ Automation Workflow

I use Pantheon at work and I find myself having to do a lot of manual syncing between different environments. Because of this, I made node cli-tooling based off of migrating instructions I found here.

This project is still very much a work in progress.

To get started, just run npm install & run the main binary from ./bin/paw:

commands
❯ ./bin/paw media up project_name
❯ ./bin/paw media down project_name
❯ # ./bin/paw db <direction> project_name# ./bin/paw sync <direction> project_name # do both db + media# go forth & prosper
preferences

Setup a .pantheonrc in your $HOME directory or in the current directory. The structure of the file should be valid JSON in this format:

{
  "project_name": {
    "uuid": "4cc6-eec512c3-a57d-0267788fabbc-97bb",
    "db": "wordpress_project_name",
    "env": "dev",
    "root": "$HOME/Developer/vvv/www/project_name/htdocs/"
  }
}

Try putting a Pantheon project into the local .pantheonrc file and run ./bin/paw media <direction> <project>.

About

Manually syncing files and databases is for non-pantheon users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published