Skip to content

emaildano/serverless-woocommerce-workshop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless WooCommerce

This is the code used for Serverless WooCommerce Workshop. Please find the detailed workshop guide here.

Prerequisites

To build and deploy this stack, please have the following tools installed.

  • docker
  • node.js
  • aws cli
  • aws cdk
  • gnu make

You also need a DNS domain hosted on Route53.

Configuration

This stack use .env file to provide configuration values.

Copy cdk/.env.example to cdk/.env and update the values to fit your needs.

Then install CDK dependencies

cd cdk
npm install 

Deployment

Preview the changes

make diff

Deploy the stack

make deploy

When the deployment is done, open WP_HOME to complete the normal WordPress setup process.

Install Plugins and Themes

In this demo, WordPress code, plugins and themes are packaged in Lambda and are read-only. And we use Bedrock to manage WordPress plugins and themes. Check out Bedrock documents on how to install/update wordpress plugins and themes.

Clean up

Run the following command to delete ALL the resources deployed for this workshop, including the database, efs file system, redis cluster and s3 bucket.

make destroy

Security

See CONTRIBUTING for more information.

License

This library is licensed under the MIT-0 License. See the LICENSE file.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 78.4%
  • JavaScript 10.5%
  • TypeScript 8.4%
  • Makefile 1.4%
  • Dockerfile 1.1%
  • Shell 0.2%