Skip to content

DekodeInteraktiv/localwp-projectbase-addon

Repository files navigation

Project Base LocalWP Addon.

A helper addon for LocalWP.

image

Features

Multisite Config fixer.

Updates the nginx config to support our project base multisite setup.

Convert to multisite

Adds a button to convert site to multiste sub directory setup, you should be able to setup subdomains with this setup also.

Root Path.

Adds a input field to change the projects root path. Often legacy projects requires you to have a root path like this: "{{root}}/web" etc.

Absolute path should also work. like this: "/Users/username/Sites/project-name/web"

Remote Images through NGINX config.

This allows you to type in the production url and it will use that url to fetch images.

SSL Fix for ca-bundle.crt path if you are using bedrock.

Fixes SSL issues with bedrock installs by updating the ca-bundle.crt path in the php.ini file. Currently hardcoding to add the extra wp folder in the public/wp/wp-includes/certificates/ca-bundle.crt path. This function runs on site start, so you don't need to think about anything :)

Installation

  • Download the .tar.gz file from the releases page.
  • Go to LocalWP and press the "Addons" tab in the sidebar.
  • Press the "Installed" tab.
  • Then click the "Install from disk" button at the top right.
  • Activate and relaunch localWP.

Development

  • Use Node v16
  • npm install installs dependencies.
  • npm start Starts the renderer process.
  • npm start:main Starts the main.ts process.

Useful Links

About

Adds extra features for project base setup

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5