Skip to content

Instantly share code, notes, and snippets.

@tjws052009
Last active September 27, 2019 00:20
Show Gist options
  • Save tjws052009/711b175257e13af3032ab5fbd08f8f75 to your computer and use it in GitHub Desktop.
Save tjws052009/711b175257e13af3032ab5fbd08f8f75 to your computer and use it in GitHub Desktop.
azure fundamental snippets
# Last tested 2019/09/24 - No guarentees it works
# Slides - available until 2019/09/27 6PM
https://azfund1909.blob.core.windows.net/file/AzureFundamentals-v20190926.pdf?sp=r&st=2019-09-26T00:00:00Z&se=2019-09-30T08:18:58Z&spr=https&sv=2018-03-28&sig=4u89POJ0ErCLpP%2FaCmoqm3Gw9gKSKykg012D6%2BxjxnA%3D&sr=b
# PaaS deployment snippet
$ sudo yum -y install git # not needed for Cloud Shell
$ git config --global user.email "[email protected]"
$ git config --global user.name "John Doe"
$ wget https://github.com/tjws052009/rubyapp/archive/master.zip
$ unzip master.zip
$ cd rubyapp-master
$ git init
$ git add .
$ git commit -m "Init repo"
$ git remote add webapp [your Git clone url]
$ git push -u webapp master # asks for deployment credentials
# Link to Github for Azure Functions
https://github.com/tjws052009/serverlesswebapp-azure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment