16
Using Local for other CMS
under review
Activity
Newest
Oldest
Clay Griffiths
under review
Clay Griffiths
complete
Hi all, importing non-WordPress Local exports and creating sites using non-WordPress Blueprints is now possible in Local 5.7.4 (https://localwp.com/releases/5.7.4). Thanks again for your patience regarding this!
Jason Adams
@Clay Griffiths: While is this greatly appreciated, I feel like the actual patch does not really get at the heart of this Canny post. Right now WordPress is the only first-class citizen within Local. Other CMS don't break Local, at best — which is what that latest patch is ensuring. This post is asking that other CMS options become a first-class citizen as well (see my post below, starting with "As mentioned in my merged post".
Should we open up a new Canny post for that? But then we lose the voter count and have to start over. 🤷♂️
Clay Griffiths
@Jason Adams: Appreciate the response! I'd hate to lose the votes as you mentioned.
I'll go ahead and re-open this and mark it as "Under Review." It's something we've been chatting about on the team but haven't officially committed to yet.
J
Jeff Dashley
@Clay Griffiths: Thank you for keeping this under review and maintaining the likes. I second what @Jason Adams is saying. It would be a game changer for me and allow for Local to be my only source for local dev. I'm not sure how Pro could be utilized with other CMS but it would certainly make it more attractive to go Pro if I could use some/all features no matter the type of site I'm developing and not just Wordpress sites.
Clay Griffiths
in progress
Hi all, we have a fix created to resolve not being able to use non-WP Blueprints and importing non-WP Local Exports. It will be available in the next update of Local.
Thanks for all of the comments and votes!
J
Jeff Dashley
@Clay Griffiths: Thats wonderful! Thanks, Clay, and the rest of the Local team!!
Joel Szwarga
@Clay Griffiths: Thank you, this was the only blocker keeping me from using Local on my students' computers for my web design class which starts next Thursday. If you have any idea if the next update will be before Sept 3 please can you let me know so I can plan to use Local for my class. Awesome!
Joel Szwarga
@Clay Griffiths: I noticed that the new version 5.7.3 is on the release page as of Aug 31 with this fix listed as included. But there is no download link for 5.7.3 :(
Clay Griffiths
@Joel Szwarga: That post was intended for the beta release channel. Sorry for the confusion there!
If you wish to get access to the 5.7.3 beta, you can download it here: https://localwp.com/community/t/local-beta-5-7-3/21823 (see https://localwp.com/community/t/introducing-local-beta-group/15669 to get access).
5.7.3 stable is still slated to be released this week. 😃
Joel Szwarga
@Clay Griffiths: fantastic! i got the beta and going to test it.
Just FYI when I try to provision new site with the Beta, it fails because a database already exists from Stable version. Even if I uninstall Stable, I still can't provision a new site.
If I manually connect to the existing mysql server from Stable version, and delete the local database, then I can successfully provision new sites.

Joel Szwarga
Looks like this is a bug in general when removing sites from local and then trying to create new ones...the original database servers are still running from the deleted sites. So there's a conflict when creating new sites that use the same port numbers as the deleted sites.
Should Local instead be deleting the database servers when sites get removed? (I should probably be posting this somewhere else?)
Jason Adams
As mentioned in my merged post, my ideal would be to prune Local into a simple, highly extensible, LAMP stack server. That would be core. It's really no that far from this!
Within a site, adjust the following tabs
Overview: Remove "WordPress version" and "Multisite"
Database: Just display the defaults and socket for the primary database
From there, add-ons could be added for specific CMS support. Additional fields (e.g. "WordPress Version") could be added to specific tabs, and blueprints could be introduced (e.g. WordPress, Laravel). You could add a "CMS" dropdown to the Site which allows the user to inform Local which CMS is running within the site (and which extension to apply).
The way it is, it's not easy to extend with another CMS are you'd have to backtrack (i.e. remove WP stuff) or just have folks ignore the WP stuff — which is janky and invites bugs like the ones documented in this post.
Hope this helps! It's because I like Local so much that it would be great to see this take place. 😁
Joel Szwarga
@Jason Adams: This is a fantastic idea. Since add-ons can be created by the community, I can totally see add-ons for each CMS being community-created and supported. I know I would make one for my preferred CMS (Processwire) in a heartbeat. Please consider this!
Clay Griffiths
Merged in a post:
Better support for non-WordPress sites
Jason Adams
I know there's a FR for Laravel support, but truthfully I just wish Local made less assumptions about every site being a WordPress site in general. I've used Local for years now, and it seems like it's getting progressively more integrated with WordPress. In a way, that's of course very cool, but the way it's being done is that the integrations are core to Local rather than extendable. I'm progressively having more and more things stop working (just found I can't switch to Apache) for non-WP sites. It throws some error regarding some missing WP thing and crashes.
Local is a great tool for running an HTTP server. It would be so awesome if the product did that really well and then extended itself into directions like WordPress and Laravel, rather than marrying itself completely to a single framework.
X Y
nice feature
now i use custom blueprint - https://github.com/6umpukc-uHKBu3umop/local-for-bitrix
i can create new site just by drag n drop zip file,
it works for creating site for first time
but after export this site ofcourse i cant import this site zip
Clay Griffiths
Hi Jason, thanks for the feedback!
Regarding "It throws some error regarding some missing WP thing and crashes.", this will be resolved in the next update. Sorry for the hiccup here!
Quick Tip: Create an "Empty Site" Blueprint so you can create new sites without WordPress pre-installed. You can do this by creating a new site in Local, removing the WordPress files, dropping the tables in the database and then right-clicking on the site in the sidebar and saving it as a Blueprint.
X Y
@Clay Griffiths: i tried this
but blueprint without wordpress site - not work
for some reasons when site importing - it trying to change wordpress "host" option and fails - because there is no wopress files and database
Clay Griffiths
@X Y: Got it! I'll add this as a bug in our backlog to look into. Sorry for the trouble here. It certainly wasn't our intention to require WordPress all the time.
Joel Szwarga
@Clay Griffiths: I'm trying to do the same thing...remove all wordpress files from /public and remove all wordpress tables from mysql, then save as blueprint, or export site.
The save or export works, but when I try to create from blueprint or import the zip, this error will come up and the site never gets created...
The error comes up after the files are imported and provisioning is complete...
This error even comes up when attempting to clone an "empty" site. My how useful Local would be if I could just import and/or clone these blank sites!!

X Y
yes its nice feature to support sites without worpress
now i create custom zip (blueprint) with script install.php which remove worpdress files https://github.com/6umpukc-uHKBu3umop/local-for-bitrix/blob/master/app/public/install.php
so i just run this script install.php from browser after creating site
and moving to cms bitrix setup
i can export this site by local gui - but ofcourse i can't import this zip next time
Benjamin Turner
I'd be curious to hear more. Is the goal to be tailored to other, specific CMSes, or to just allow a way to scaffold out a plain L[AE]MP stack?
A
Andy Fragen
@Benjamin Turner: personally I think the ability to create a blank L[AE]MP stack would be ideal. I think creating other specific CMSs, like Laravel, would make great plugins.
Mike Hemberger
@Benjamin Turner: I don't think it needs to be tailored at all. I'd just love it to work. Statamic is flat file so most of it won't work or be needed. But to at least install it and use would be amazing. Craft is another story, since it's DB driven as well.
J
Jeff Dashley
@Benjamin Turner: I agree with @Andy Fragen. I would mostly use it for Craft but I'm sure there would be use for others like Statamic. I was able to get a Craft site working using a mix of the following links but none were perfect and it's all a bit hacky.
and this in the community forums:
Kristjan Koppel
@Benjamin Turner: Just a blain L[AE]MP stack...Since i use Wordpress also as a dependency via composer i have a little bit different wordpress project setup and i don't want all the time go over deleting default wordpress setup.
Kristjan Koppel
It would be good to just activate new LAMP stack witout any cms or code inside...that would be already super...But CLI is more important for me :D
Load More
→