Website Builder Plugin
PROJECT
A plugin for Strapi Headless CMS that provides the ability to trigger website builds manually, periodically or through model events.
Budget
Transparent and open finances.
Credit from Benjamin Yee to Website Builder Plugin using a Gift Card from Strapi •
+$5.00USD
Completed
Contribution #533219
Credit from Roman Walters to Website Builder Plugin using a Gift Card from Strapi •
+$10.00USD
Completed
Contribution #529085
Credit from Mr Tung to Website Builder Plugin using a Gift Card from Strapi •
+$10.00USD
Completed
Contribution #527742
$
Today’s balance$22.50 USD
Total raised
$22.50 USD
Total disbursed
--.-- USD
Estimated annual budget
--.-- USD
About
A plugin for Strapi that provides the ability to trigger website builds manually, periodically or through model events.
Requirements
The installation requirements are the same as Strapi itself and can be found in the documentation on the Quick Start page in the Prerequisites info card.
Supported Strapi versions
- v4.x.x
NOTE: While this plugin may work with the older Strapi versions, they are not supported, it is always recommended to use the latest version of Strapi.
Installation
npm install strapi-plugin-website-builder
or
yarn add strapi-plugin-website-builder
Configuration
The plugin configuration is stored in a config file located at ./config/plugins.js.
The plugin has different structures depending on the type of trigger for the build. Each of the following sample configurations is the minimum needed for their respective trigger type.
Manual Configuration
module.exports = ({ env }) => ({ // ... 'website-builder': { enabled: true, config: { url: 'https://link-to-hit-on-trigger.com', trigger: { type: 'manual', }, } }, // ... });
Cron/Periodic Configuration
module.exports = ({ env }) => ({ // ... 'website-builder': { enabled: true, config: { url: 'https://link-to-hit-on-trigger.com', trigger: { type: 'cron', cron: '* * 1 * * *', }, } }, // ... });
Event Configuration
module.exports = ({ env }) => ({ // ... 'website-builder': { enabled: true, config: { url: 'https://link-to-hit-on-trigger.com', trigger: { type: 'event', events: [ { model: 'recipes', types: ['create', 'delete'], }, ], }, } }, // ... });
IMPORTANT NOTE: Make sure any sensitive data is stored in env files.
Usage
Once the plugin has been installed and configured, it will show in the sidebar as Website Builder. To trigger a manual build select the Website Builder menu item in the sidebar and click the Trigger Build button to start a build process.
Our team
Derrick Mehaffy
Admin
MattieBelt
Admin
Eventyret
Admin
Victor Coisne
Admin
boazpoolman
Admin
Sacha STAFYNIAK
Admin
Boegie19
Admin
Contribute
Become a financial contributor.
Financial Contributions
Website Builder Plugin is all of us
Our contributors 4
Thank you for supporting Website Builder Plugin.