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
Now create a `.env` text file and paste the connection string in there, so that the value it is assigned to the `AZURE_SQL_DEPLOY_USER` environment variable. It should look like this:
in the `.env` file just created, replace the `Initial Catalog` value from `master` to `TodoDB`.
64
-
65
-
The `deploy-db.ps1` script can be used to deploy the database to a local SQL Server instance or Azure SQL Emulator. It will create a new database called `TodoDB` and a new user called `todo_dab_user`.
66
-
67
45
### Run the app locally
68
46
69
47
Once database has been deployed, build the Vue fronted via
@@ -75,17 +53,9 @@ swa build
75
53
If you haven't create an `.env` file yet, create one in the root folder, and the `AZURE_SQL_APP_USER` environment variable to set it to the connection string pointing to the local SQL Server instance or Azure SQL Emulator:
please notice that the `<server>` value is the same as the one used to deploy the database. If you used `sqlcmd` to create the database, use `sqlcmd config connection-strings` to see that `<server>` is for you. If you only have one instance of SQL Server installed, it will be `localhost`.
88
-
89
59
Then start the app locally using the following command:
0 commit comments