Environment variables
You don't need the project generator, you can directly download the Codebase on the /app/releases page and configure manually.
Backend
Integration Tests: tests/PRODUCT_NAME.IntegrationTests/appSettings.Testing.json
Development: src/PRODUCT_NAME.WebApi/appSettings.Development.json
Production: src/PRODUCT_NAME.WebApi/appSettings.json
{
"App": {
"Name": "PRODUCT_NAME", //
"URL": "http://localhost:8080",
"SupportEmail": "[email protected]",
"LiveChatURL": "PRODUCT_NAME.com",
"DocsURL": "PRODUCT_NAME.com",
"CompanyName": "",
"CompanyAddress": ""
},
"ProjectConfiguration": {
"DatabaseProvider": "PostgreSQL",
"MultiTenancy": "SingleDatabase",
"MasterDatabase": "PRODUCT_NAME-dev",
"EmailProvider": "Postmark",
"SubscriptionProvider": "Stripe",
"RequiresEmailVerification": "false"
},
"Jwt": {
"Key": "pL5pFCi5Xvc2t1tD",
"Issuer": "PRODUCT_NAME"
},
"ConnectionStrings": {
"DbContext_PostgreSQL": "User ID=testing;Server=localhost;Port=5432;Pooling=true;Password=testing;Database=[DATABASE];",
"DbContext_MySQL": "Server=localhost;Port=5432;Uid=testing;Pwd=testing;Database=[DATABASE];"
},
"SubscriptionSettings": {
"PublicKey": "pk_test_...",
"SecretKey": "sk_test_..."
},
"EmailSettings": {
"SmtpMailServer": "smtp.gmail.com",
"SmtpMailPort": "587",
"SmtpSenderName": "PRODUCT_NAME",
"SmtpSenderEmail": "noreply@PRODUCT_NAME.com",
"SmtpPassword": "",
"PostmarkServerToken": "...",
"PostmarkSenderName": "PRODUCT_NAME",
"PostmarkSenderEmail": "contact@PRODUCT_NAME.com"
},
"DefaultUsers": [
{
"Uuid": "e2b9a8de-2196-11eb-adc1-0242ac120002",
"Organization": "Admin",
"Subdomain": "admin",
"Type": "Admin",
"Email": "[email protected]",
"Password": "password"
},
{
"Uuid": "eca8cd3b-0348-4dc7-90d9-9345b88f1f07",
"Organization": "Tenant1",
"Subdomain": "tenant1",
"Type": "Tenant",
"Email": "[email protected]",
"Password": "password1"
}
],
"Logging": {
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
}
}Frontend
src/PRODUCT_NAME.WebApi/ClientApp/.env.production
src/PRODUCT_NAME.WebApi/ClientApp/.env.development
Last updated
Was this helpful?