Git Product home page Git Product logo

azurecitadel.github.io's Introduction

Azure Citadel

The content for the public-facing website for Azure Citadel

The site is currently hosted on Azure Static Web Apps, using GitHub actions to deploy, sitting behind Azure Front Door

Local hugo install

Example commands for Ubuntu 20.04, run from the local directory for the cloned repo.

  1. Install npm

    sudo apt update && sudo apt install -y npm
  2. Install the npm modules

    npm install
  3. Determine the Hugo version from the Dockerfile

  4. Set the variable

    hugo_version=0.90.1
  5. Download the .deb file

    hugo_binary=hugo_extended_${hugo_version}_Linux-64bit.deb
    wget https://github.com/spf13/hugo/releases/download/v$hugo_version/$hugo_binary
  6. Install hugo

    sudo apt install ./$hugo_binary -y
  7. Remove the .deb file

    rm $hugo_binary

Run hugo

hugo server

azurecitadel.github.io's People

Contributors

aermie avatar agrajm avatar azure-pipelines[bot] avatar benc-uk avatar bohleadam avatar edvilla75 avatar gidavies avatar guygregory avatar iganari avatar jalew123 avatar jasoncabot-ms avatar justindavies avatar katafrakt avatar knee-berts avatar larryms avatar lukemurraynz avatar mabalija avatar markharrison avatar meetnavpk avatar mmistakes avatar pmeshrampm avatar powersj avatar richeney avatar robinmanuelthiel avatar towilde avatar wpietri avatar xerosum avatar yonojoy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

azurecitadel.github.io's Issues

Domain name / short URL

Would it make sense to register a memorable domain name for this site?

Something like: mspdu.co.uk, msukpdu.com or ukpdu.com?

At the very least, we ought to reserve a short URL like http://aka.ms/ukpdu

Idea/enhancement: Multiple authors

If we revamp the page templates it would be good if authors was an array and we could show multiple authors on the page footer more easily

Lab3 - Creating Multiple App Service Plans using Count Meta Parameter

Hi @richeney
Thanks for creating the awesome hands-on labs :)
While trying out lab3 count meta parameter to create 3 different linux based free app service plans, I'm getting the following error:

Error: Error creating/updating App Service Plan "plan-free-westus" (Resource Group "webapps"): web.AppServicePlansClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code="BadRequest" Message="Exceeded the limit of 1 free tier linux server farm per subscription." Details=[{"Message":"Exceeded the limit of 1 free tier linux server farm per subscription."},{"Code":"BadRequest"},{"ErrorEntity":{"Code":"BadRequest","ExtendedCode":"11027","Message":"Exceeded the limit of 1 free tier linux server farm per subscription.","MessageTemplate":"Exceeded the limit of 1 free tier linux server farm per subscription.","Parameters":[]}}]

Important part is Exceeded the limit of 1 free tier linux server farm per subscription.
While the limits mention being able to create 10 free app service plans per region but my error message says otherwise for linux based free plans !

Have you been able to workaround this ?
I can confirm if I switch to Standard SKU it works well.

Certain regions fail when attempting to create multiple ASPs in the "Using Count" section of the lab

The lab walks the user through creating multiple ASPs using the count meta parameter.
At one point it suggests using eastus2, uksouth, and centralindia for your test reasons.
Unfortunately, centralindia is not supported and failed for me (the other regions were successful).

Error: Error creating/updating App Service Plan "plan-free-1nf8dck7-centralindia" (Resource Group "webapps"): web.AppServicePlansClient#CreateOrUpdate: Failure sending request: StatusCode=401 -- Original Error: Code="Unauthorized" Message="The scale operation is not allowed for this subscription in this region. Try selecting different region or scale option." Details=[{"Message":"The scale operation is not allowed for this subscription in this region. Try selecting different region or scale option."},{"Code":"Unauthorized"},{"ErrorEntity":{"Code":"Unauthorized","ExtendedCode":"52020","Message":"The scale operation is not allowed for this subscription in this region. Try selecting different region or scale option.","MessageTemplate":"The scale operation is not allowed for this subscription in this region. Try selecting different region or scale option.","Parameters":["default"]}}]

Enhancement: Author and comments on category landing pages

I'm writing the contributing guide. It would be useful for the content curator to be shown on the landing pages - perhaps as author, perhaps just at the bottom of the page. Also enable the comments section so that visitors can suggest new content.

Tables

Note that tables will workon the site, despite being outside of the official markdown standard. Example:

Column 1 Header | Column 2 Header
Key1 | Value1
Key2 | Value 2

You can do additional spacing and edge vertical pipes, but they aren't strictly necessary. Nor is putting the column header in bold, but it does look a little better.

https://ukpdu.github.io/prereqs/subscription/ is a good example.

Docker [suggestion]

Update guidance to offer Docker as an alternative (to me, i found it simpler to set up) way to do site generation / testing.

I used the following:
docker run -e "JEKYLL_ENV=docker" --label=jekyll --volume=%CD%:/srv/jekyll -it -p 4000:4000 jekyll/jekyll jekyll serve --config _config.yml,_config_local.yml --unpublished --future

I then did a docker commit on the container to generate my own image ... by then using the new image it avoided downloading numerous packages each time I needed to generate / test.

Change style on pre tags

Since changing the style on code blocks, making them dark it has also affected any inline code. Which can be really hard on the eyes (see below) I think these are done with <pre> tags so hopefully can be style separately

image

CLI commands for Mac - Pre-requisites

Perhaps worth mentioning, per 'These commands are as tested within the Windows Subsystem for Linux (WSL), with the CLI 2.0 added.' -- nearly everything works on MacOS (High Sierra, with the Azure CLI and Homebrew installed), at least as far as lab 4.

The one command which fails is job=job.$(date --utc +"%Y%m%d.%H%M"), because Linux uses the GNU version of the date command and MacOS uses the UNIX version.

Easy fix: brew install coreutils, and use gdate instead of date. Further details here.

RSS/Atom support

I think it'd be nice to syndicate this content via RSS/Atom. What do others think? Is there a preferred approach to accomplish this with Jekyll?

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.