You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this project mostly everyday. I build it to help me collecting my thoughts about articles, and blob posts I read during the week and then aggregate them in a #ReadingNotes blog post. You can find those post on my blog [here](https://frankysnotes.com).
6
7
@@ -19,57 +20,24 @@ NoteBookmark is composed of three main sections:
19
20
- Fork this repository to your account.
20
21
- Clone the repository to your local machine.
21
22
22
-
### Create the Azure Storage
23
-
24
-
Curretly the project assumed you already have an Azure Storage account, therefor its creation is exclude of the deployment. Let's create one now and retreive it's ConnectionString using a Azure CLI comnand (you can also use the Azure Portal is you prefer).
25
-
26
-
Here in Bash:
27
-
28
-
```bash
29
-
resourceGroupName="notebookmark-dev"
30
-
location="eastus"
31
-
storageAccountName="notedata"
32
-
33
-
az group create --name $resourceGroupName --location $location
az storage account show-connection-string --name $storageAccountName --resource-group $resourceGroupName
52
-
```
53
-
54
-
Save this connection string, you will need it later.
55
23
56
-
### Deploy the soluiton
24
+
### Deploy the solution (5 mins)
57
25
58
26
Using Azure Developer CLI let's initialize your environment. In a terminal, at the root of the project, run the following command. When ask give it a name (ex: NoteBookmark-dev).
59
27
60
28
```bash
61
29
azd init
62
30
```
63
31
64
-
Now let's deploy the solution. Run the following command in the terminal. You will have to select your Azure subscription where you want to deploy the solution, a location (use the same as for the storage creation earlier), and paste the connection string you saved earlier when asked for the 'data_storage_connstr'.
32
+
Now let's deploy the solution. Run the following command in the terminal. You will have to select your Azure subscription where you want to deploy the solution, and a location (ex: eastus).
65
33
66
34
```bash
67
35
azd up
68
36
```
69
37
70
38
It should take around five minutes to deploy the solution. Once it's done, you will see the URL for **Deploying service blazor-app**.
71
39
72
-
### Secure the App
40
+
### Secure the App in a few clicks
73
41
74
42
The app is now deployed, but it's not secure. Navigate to the Azure Portal, and find the Resource Group you just deployed (ex: rg-notebookmark-dev). In this resource group, open the Container App **Container App**. From the left menu, select **Authentication** and click the **Add identity provider**.
0 commit comments