CompositionalIT / SAFE-Dojo

An introductory dojo to learn how to develop full stack web applications in F#
378 stars 126 forks source link

Azure deploy instructions are a little out of date #111

Closed dsyme closed 2 years ago

dsyme commented 3 years ago

It's possible the Azure deploy should be removed from the Dojo but it's kind of great to have it there.

I did get it to work by

  1. Installing the Azure CLI on this laptop that didn't have it
  2. Renaming "new_app" in Build.fs

It's pretty cool that it's so simple, really amazing.

isaacabraham commented 3 years ago

We probably just need to add back in some readme instructions for deploying to Azure - one of the restrictions with naming in web apps is that you can't have an _ , but we could (should) add that into Farmer so it gives a nice error when you try to deploy.

theprash commented 2 years ago

I've improved the Azure deploy instructions a bit and also changed Build.fs:

    let web = webApp {
        name "TODO: Change this to a globally unique name containing only alphanumeric or hyphen characters"

https://github.com/CompositionalIT/SAFE-Dojo/commit/59c36f2e39549cb4099cd6dc047f5129c29490cc