From 817f9d2308dd8fd965747df4cfeaba7078240aed Mon Sep 17 00:00:00 2001 From: Polianin Nikita Date: Tue, 28 May 2024 06:47:25 +0300 Subject: [PATCH] feat: add default path --- .env | 19 +++++++++++++++++++ Backend.sln | 14 ++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 .env diff --git a/.env b/.env new file mode 100644 index 0000000..af67fc3 --- /dev/null +++ b/.env @@ -0,0 +1,19 @@ +# The .env configuration file +# Please DO NOT share this file, it contains confidential data. + +# All variables are specified according to this rule: +# DESCRIPTION - information about what the variable is responsible for +# TYPE - the type of the variable (string, boolean, etc.) +# Any additional information +# SOME_ENV_CODE=data - default data. If specified, then the variable is optional + +# General + +# The path to save the data. +# string +# (optional) +# Saving logs (if the full path is not specified), +# databases (if Sqlite) and other data that should be saved in a place other than the place where the program is launched. +# REQUIRED if the application is inside the container +# If you want to change this value, you need to change the values in Settings.json and move the file itself to the desired location. +PATH_TO_SAVE= \ No newline at end of file diff --git a/Backend.sln b/Backend.sln index 383bd42..95ebfb7 100644 --- a/Backend.sln +++ b/Backend.sln @@ -10,22 +10,20 @@ EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Elements of the solution", "Elements of the solution", "{3E087889-A4A0-4A55-A07D-7D149A5BC928}" ProjectSection(SolutionItems) = preProject .dockerignore = .dockerignore + .env = .env .gitattributes = .gitattributes .gitignore = .gitignore Dockerfile = Dockerfile LICENSE.txt = LICENSE.txt README.md = README.md + .gitea\workflows\test.yaml = .gitea\workflows\test.yaml EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Application", "Application\Application.csproj", "{E7F0A4D4-B032-4BB9-9526-1AF688F341A4}" - ProjectSection(ProjectDependencies) = postProject - {C27FB5CD-6A70-4FB2-847A-847B34806902} = {C27FB5CD-6A70-4FB2-847A-847B34806902} - EndProjectSection EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Persistence", "Persistence\Persistence.csproj", "{4C1E558F-633F-438E-AC3A-61CDDED917C5}" - ProjectSection(ProjectDependencies) = postProject - {E7F0A4D4-B032-4BB9-9526-1AF688F341A4} = {E7F0A4D4-B032-4BB9-9526-1AF688F341A4} - EndProjectSection +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApiDto", "ApiDto\ApiDto.csproj", "{0335FA36-E137-453F-853B-916674C168FE}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -49,6 +47,10 @@ Global {4C1E558F-633F-438E-AC3A-61CDDED917C5}.Debug|Any CPU.Build.0 = Debug|Any CPU {4C1E558F-633F-438E-AC3A-61CDDED917C5}.Release|Any CPU.ActiveCfg = Release|Any CPU {4C1E558F-633F-438E-AC3A-61CDDED917C5}.Release|Any CPU.Build.0 = Release|Any CPU + {0335FA36-E137-453F-853B-916674C168FE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {0335FA36-E137-453F-853B-916674C168FE}.Debug|Any CPU.Build.0 = Debug|Any CPU + {0335FA36-E137-453F-853B-916674C168FE}.Release|Any CPU.ActiveCfg = Release|Any CPU + {0335FA36-E137-453F-853B-916674C168FE}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE