diff --git a/util/install.js b/util/install.js index da1163a7a..cce6157f2 100644 --- a/util/install.js +++ b/util/install.js @@ -20,30 +20,11 @@ exports.validate = function(response) { dashboardLink = 'https://console.aws.amazon.com/console/home'; } - // @TODO: update text if (!hasSQL && !hasSqliteS3) { let message = "
It appears that the required environment variables for the WordPress database aren't setup.
" + "If you don't have a database solution selected yet, there are a few options.
" - + "WordPress usually runs with a MySQL or MariaDB database. That means hosting a database that runs 24/7.
" - + "ServerlessWP now supports SQLite combined with S3 as a truly serverless database alternative. Combining SQLite with the recent ability to conditionally write to S3-compatible object storage allows for a zero maintenance and low cost data layer for ServerlessWP.
" - + "Two trade-offs exist using SQLite and S3 for ServerlessWP: some plugins may not be completely compatible with SQLite and requests might fail if simultaneous requests change the database (within milliseconds of each other).
" - + "So you'll need to create an S3 bucket or a MySQL/MariaDB database.
" - + `Then you'll need to populate the environment variables for your site at Vercel or Netlify (dashboard)
` - + "The required variables for SQLite and S3 are:
" - + `
- SQLITE_S3_BUCKET
- SQLITE_S3_API_KEY
- SQLITE_S3_API_SECRET
- SQLITE_S3_REGION
- SQLITE_S3_ENDPOINT (optional: use with Cloudflare R2 for example)
- `
- + "The required variables for MySQL or MariaDB are:
" - + `
- DATABASE
- USERNAME
- PASSWORD
- HOST
- `
+ + "Head over to the readme to pick a data option and setup environment variables.
" + + `You'll need to populate the environment variables for your site at Vercel or Netlify (dashboard)
` + 'Then remember to redeploy your site at Vercel or Netlify for the environment variables to be updated for the site.
'; return {