|
1 |
| -# WordPress On Vercel, Netlify, or AWS |
2 |
| -Serverless WordPress on Vercel, Netlify, or AWS Lambda. |
| 1 | +# Run WordPress On Vercel, Netlify, or AWS |
| 2 | +Serverless WordPress on Vercel, Netlify, or AWS Lambda because WordPress hosting is silly. |
3 | 3 |
|
4 | 4 | | Vercel (recommended) | Netlify |
|
5 | 5 | | --- | --- |
|
6 | 6 | | [](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmitchmac%2Fserverlesswp&env=DATABASE,USERNAME,PASSWORD,HOST&envDescription=Database%20credentials%20from%20PlanetScale%20or%20other%20host&envLink=https%3A%2F%2Fgithub.com%2Fmitchmac%2FServerlessWP%23setup-vercel-or-netlify&project-name=serverlesswp&repository-name=serverlesswp) | [](https://app.netlify.com/start/deploy?repository=https://github.com/mitchmac/serverlesswp) |
|
7 | 7 |
|
8 | 8 | ## Project Goals
|
9 | 9 |
|
10 |
| -✅ Easy onboarding: deploy with one of the links above and then setup a database |
| 10 | +✅ Maintaining servers for WordPress can be a pain. Serverless hosting should be less work. |
11 | 11 |
|
12 |
| -✅ Keep costs low (often free) for the majority of small WordPress websites |
| 12 | +✅ Small WordPress sites shouldn't cost much (or anything) to host. |
13 | 13 |
|
14 |
| -✅ Ability to use most WordPress plugins and themes |
| 14 | +✅ Deploying WordPress should be easy. Setup a database and try one of the links above. |
15 | 15 |
|
16 |
| -✅ Take advantage of edge caching for blazing fast page loads |
| 16 | +✅ WordPress plugins and themes save time and should be extensively supported. |
17 | 17 |
|
18 |
| -✅ Reduce the carbon footprint of WordPress websites |
| 18 | +✅ Edge caching can give us blazing fast websites. |
19 | 19 |
|
20 |
| -✅ A helpful community. [Share your successes, knowledge, ideas, or struggles](https://github.com/mitchmac/ServerlessWP/discussions) in the discussions |
| 20 | +✅ We can reduce the carbon footprint of WordPress websites. |
| 21 | + |
| 22 | +✅ We can create a helpful community. [Share your successes, knowledge, ideas, or struggles](https://github.com/mitchmac/ServerlessWP/discussions) in the discussions. |
21 | 23 |
|
22 | 24 | ## Setup (Vercel or Netlify)
|
| 25 | + |
| 26 | +**Please note this is currently an experimental project and shouldn't be used for websites with considerable security or stability requirements.** |
| 27 | + |
23 | 28 | 1. Create a MySQL database that can be accessed from Vercel or Netlify. The easiest way to do this is with [PlanetScale](https://planetscale.com/) which has a free tier to get started. When using PlanetScale, make sure your database's region matches the region that Vercel or Netlify will use. This is usually ```us-east-1```.
|
24 | 29 | 2. Deploy this repository to Vercel or Netlify. One of the links above will get you started. You'll just need a GitHub account.
|
25 | 30 | 3. Update the environment variables for your project in Vercel or Netlify with the database credentials. These are used by wp-config.php. The environment variables are:
|
@@ -50,6 +55,9 @@ S3_ACCESS_KEY
|
50 | 55 | 2. Clone the repository and run `serverless deploy` to confirm that the Lambda is created
|
51 | 56 | 3. Like step 2 above, create a MySQL database and update the environment variables. They can be updated in the `serverless.yml` file and then run `serverless deploy` again.
|
52 | 57 |
|
| 58 | +## Getting help |
| 59 | +Need help getting ServerlessWP installed? [Start a discussion ](https://github.com/mitchmac/ServerlessWP/discussions) or [e-mail me ](mailto:[email protected]) |
| 60 | + |
53 | 61 | ## How can you help?
|
54 | 62 | - Just using ServerlessWP and [reporting any problems you experience](https://github.com/mitchmac/ServerlessWP/issues) is a fantastic way to help!
|
55 | 63 | - Share the word! Let's try to make WordPress hosting better.
|
|
0 commit comments