DevinVinson / WordPress-Plugin-Boilerplate

[WordPress] A foundation for WordPress Plugin Development that aims to provide a clear and consistent guide for building your plugins.
http://wppb.io
7.69k stars 2.27k forks source link

[Feature] Install script #489

Open re1 opened 6 years ago

re1 commented 6 years ago

Would it be possible to add a script to apply all changes mentioned in the Installation section? I can also add it myself if You are interested.

For example:

sh install.sh "example_me"

For Linux one can easily use sed -i, mv or rename. For a cross-platform You might want to consider a simple scripting language.

DevinVinson commented 6 years ago

There is a 95% done PR for that here if you want to start from that: https://github.com/DevinVinson/WordPress-Plugin-Boilerplate/pull/371

re1 commented 6 years ago

Thank You. I will give it a look later this evening (Europe).

markheydon commented 6 years ago

Hi,

In case anybody finds this issue while trying to use the existing wiki installation page, which seems to be a little out of date, I just added a newer quick-and-dirty script to a new wiki page that does a quick download and rename of the files and code. The PR looks like a better way to go, though, if it ever gets approved!

https://github.com/DevinVinson/WordPress-Plugin-Boilerplate/wiki/Using-the-plugin-boilerplate-in-Varying-Vagrant-Vagrants-(VVV)

Mark

simonh1000 commented 5 years ago

I tried the script on my Mac and got a stream of errors. No idea what I am doing wrong

image

AlexandreGagner commented 5 years ago

Hi, you should have a look to this project : https://wppb.me/

Bye