Git Product home page Git Product logo

serverless-woocommerce-workshop's Introduction

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.

serverless-woocommerce-workshop's People

Contributors

bnusunny avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.