wplib / wplib-box

The Best Local Dev Server for WordPress Developers
https://wplib.github.io/box-docs/
MIT License
210 stars 24 forks source link

Box "builder" #120

Open Obvio opened 8 years ago

Obvio commented 8 years ago

Add UI for pre selecting certain configuration options, like domain, directory, initial plugins/themes to install etc., Ideally the user would have something similar to the wp-admin/themes and wp-admin/plugins type of search where he can pull those in.

Add the options to "save" a configuration as my default config so next time I'll start with the same base site.

An example of builder/customiser can be seen here http://www.initializr.com/ (click the responsive button).

mikeschinkel commented 8 years ago

Hi Amit,

Add UI for pre selecting certain configuration options, like domain

Local domain and/or domain to be used when the site goes live?

directory

We had planned to standardize on a directory structure for things we'd generate, below; how would you want to do it differently? Would doing it differently be important?

On Developer's (Host's) Computer

In WPLib Box (Guest Computer)

We may actually move from /var/www to /www. If we can standardize on these it will allow us to get more things done more quickly and with less effort.

More questions to come...

Obvio commented 8 years ago

in 'directory' i had the assumption many sites could live under one installation, and by 'domain' i ment local developemnt domain, so given this diretcory structure i would saydomain1.box maps to www/domain1-wp-files.

that would allow multiple sites and easy 'differentiation' between sites when deploying for example.

mikeschinkel commented 8 years ago

@Obvio

Ah, I was juggling several things when I posted early so I forgot to mention that we plan both 1.) Single-site mode and 2.) multisite mode. Above is for 1, single-site mode.

For Multisite mode we plan (per site):

On Developer's (Host's) Computer

In WPLib Box (Guest Computer)

Using the API, CLI or Console you could switch back and forth between Single and Multisite mode but not sure how we will handle switching back to single site mode it you have multiple sites in Multisite mode; we may just disallow?

mikeschinkel commented 8 years ago

@Obvio:

Initial plugins/themes to install etc., Ideally the user would have something similar to the wp-admin/themes and wp-admin/plugins type of search where he can pull those in.

Trying to understand this requirement. It seems there are many places to search for plugins and themes, should we really try to duplicate that functionality ourselves in our console? This seems like it could be an entire website designed around searching for plugins and themes which is a very big projects. And as I am sure you have seem WordPress.org is currently reinventing their own plugin section.

Our are you thinking something much smaller in scope?

mikeschinkel commented 8 years ago

@Obvio:

Add the options to "save" a configuration as my default config so next time I'll start with the same base site.

So I am clear, you mean you want whatever the current box configuration to be exportable and importable? How about also automatically saved?

(BTW, I think we have several different feature requests here and it will be easier for us to track them as separate tickets so we may break them out once we understand them.)

Obvio commented 8 years ago

you're right about not trying to duplicate the .org or themes/plugins search functionality from within wp-admin.

Than this feature could be based on creating an empty site with my custom configuration, installing the themes and plugins I need and then just use this as the "clone base".

As for switching between single and multisite, not sure about it at all.. on my use cases I just need to have separate wp installations each on its own dev-domain.

mikeschinkel commented 8 years ago

Than this feature could be based on creating an empty site with my custom configuration, installing the themes and plugins I need and then just use this as the "clone base".

Would a list of plugin slugs and a theme slug from WordPress.org, or an HTTP(S) URL work for this?

As for switching between single and multisite, not sure about it at all.. on my use cases I just need to have separate wp installations each on its own dev-domain.

Many sites in one WPLib Box, right vs. one WPLib Box for each client site?

(You can currently do this with multi-tenancy, but it is manual. Let me know if you want to know how. Message me on FB your email address if you want to discuss on our support chat on Slack, or you can discuss on our Facebook group.)

Obvio commented 7 years ago

Yes - a list of plugin slugs and a theme slug from WordPress.org, or an HTTP(S) URL work for this great.

Yes for the second one as well, multi tenancy is what I'm looking for, thanks for the offer, i'll reach out on slack :)