Giter Club home page Giter Club logo

azure-wordpress-bicep's Introduction

azure-wordpress-bicep

This WordPress on App Service deployment is based on the recent announcement of a "New and better 'WordPress on App Service'".

To deploy this template, you will need the following:

  1. Git to clone this repo
  2. Azure Subscription
  3. Azure CLI
  4. Azure Bicep

Using your favorite terminal, run the folowing commands to deploy:

NOTE: Examples below have been tested in WSL.

# setup parameters
location="<LOCATION>"
projectName="<GLOBALLY_UNIQUE_NAME>"
username="<USERNAME>"
password="<PASSWORD>"
email="<EMAIL>"

# review the rest of the parameter values in the parameters.json file and override the values

# create a resource group
az group create --name $projectName-rg --location $location

# deploy your bicep file
az deployment group create \
 --name $projectName-deployment \
 --resource-group $projectName-rg \
 --template-file ./main.bicep \
 --parameters @parameters.json \
 --parameters location=$location projectName=$projectName mySqlServerUsername=$username mySqlServerPassword=$password wordpressAdminEmail=$email wordpressUsername=$username wordpressPassword=$password

To destroy your resources, run the following command:

az group delete -n $projectName-rg -y

azure-wordpress-bicep's People

Contributors

pauldotyu avatar

Watchers

 avatar  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.