This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# syntax=docker/dockerfile:experimental | |
FROM node:14.10-slim AS npm_builder | |
WORKDIR /frontend | |
COPY package.json package-lock.json webpack.mix.js composer.json \ | |
composer.lock server.js server.php sshd_config ssh_setup.sh /frontend/ | |
COPY resources/ /frontend/resources/ | |
COPY config/ /config/ | |
COPY app/ /app/ | |
COPY bootstrap/cache/ bootstrap/app.php /bootstrap/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Program | |
{ | |
const string WebAdminServerApi = "application.web.admin.ServerAPI"; | |
public static async Task Main(string[] args) | |
{ | |
var builder = WebAssemblyHostBuilder.CreateDefault(args); | |
builder.RootComponents.Add<App>("app"); | |
Configure(builder.Services, builder.Configuration); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class ApiAuthenticationStateProvider : AuthenticationStateProvider | |
{ | |
private readonly HttpClient _httpClient; | |
private readonly ILocalStorageService _localStorage; | |
public ApiAuthenticationStateProvider(HttpClient httpClient, ILocalStorageService localStorage) | |
{ | |
_httpClient = httpClient; | |
_localStorage = localStorage; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "azurerm_resource_group" "test" { | |
name = "terraform-testing" | |
location = "South Central US" | |
} | |
resource "azurerm_virtual_network" "test" { | |
name = "acctvn" | |
address_space = ["10.0.5.0/24"] | |
location = azurerm_resource_group.test.location | |
resource_group_name = azurerm_resource_group.test.name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1@Macbooks-MacBook-Pro subscriptions (master) $ terraform plan | |
Refreshing Terraform state in-memory prior to plan... | |
The refreshed state will be used to calculate this plan, but will not be | |
persisted to local or remote state storage. | |
data.azurerm_client_config.current: Refreshing state... | |
data.azurerm_client_config.current: Refreshing state... | |
data.azurerm_client_config.current: Refreshing state... | |
data.azurerm_client_config.current: Refreshing state... | |
data.azurerm_client_config.current: Refreshing state... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentParameters.json#", | |
"contentVersion": "1.0.0.0", | |
"parameters": { | |
"webAppPrefix": { | |
"value": "siteapidev2-lbxvta4fkayk6-site-0" | |
}, | |
"storageAccountName": { | |
"value": "siteapidev0406141102" | |
}, |