Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP CLI command for importing database #93

Open
joehoyle opened this issue Aug 28, 2020 · 1 comment
Open

WP CLI command for importing database #93

joehoyle opened this issue Aug 28, 2020 · 1 comment

Comments

@joehoyle
Copy link
Member

It would be useful to have a wrapper import command which handles importing an SQL file, search-replacements, ElasticSearcfh indexing, flushing cache etc. At the moment these are all separate steps one need remember, beyond importing the database. I think we need a "smart import" command that can handle many Altis-specific tasks and functionality.

@kadamwhite
Copy link
Contributor

I'd suggest that this would be better to implement in conjunction with similar functionality within the Altis Dashboard, because at the moment, annoying though it may be, it's helpful that the environment-adaptation process is similar between local and dev.
What level of granularity would be exposed here? One do-all command, or several composed subcommands, like a postimport to handle the indexing / flush?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants