Skip to content
No description, website, or topics provided.
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
cli.js
config.json
demo.gif
package.json
readme.md
replace.js

readme.md

😈Devild - Wordpress DB export & replace the easy way

Database export and search replace for sql files

How to use

  • npm i -g @perlatsp/devild to install it as a global package.
  • You can now access it by running devild <command>
  • NOTE! If you are using devilbox / docker containers you will need to do the above inside the container.

Available commands

  • devild or devild help - Will display help message with available commands
  • devild db:export - Will ask credentials to export database
  • devild db:replace - Will ask questions to replace url in the exported sql file
  • devild install - Will create sample config file to create projects repositories (name,type,url)-
  • devild project:start - Will ask questions to create a new project based upon set configurations
  • devild project:add - Will ask questions to add a new project to your configuration file

TODO

  • Search Replace in current dir
  • Create Project (WP or Laravel ) cloning set repos
  • Database Export
  • Database Replace
  • CRUD config.json file
  • Database Import
  • SOMETHING ELSE
Disclaimer

This project was originally intended for personal use and not to publish it therefore I used best Worst Practices and Antipatterns to create this. PR more than welcome.

You can’t perform that action at this time.