feature/#524-pipline #15

Merged
on.nemtina merged 85 commits from feature/#524-pipline into master 2024-12-23 16:39:46 +05:00
2 changed files with 5 additions and 2 deletions
Showing only changes of commit 19317b5417 - Show all commits

View File

@ -26,8 +26,9 @@ jobs:
apt install -y postgresql apt install -y postgresql
service postgresql start service postgresql start
sudo -u postgres -s psql -U postgres -d postgres -c "alter user postgres with password 'postgres'; SELECT version();" sudo -u postgres -s psql -U postgres -d postgres -c "alter user postgres with password 'postgres'; SELECT version();"
sudo -u postgres -s psql -U postgres -d postgres -c "CREATE DATABASE persistence WITH OWNER 'postgres' ENCODING 'UTF8' LC_COLLATE = 'Russian_Russia.1251' LC_CTYPE = 'Russian_Russia.1251' TEMPLATE = template0" sudo -u postgres -s psql -U postgres -d postgres -c "CREATE DATABASE persistence WITH OWNER 'postgres'"
sudo locale -a sudo locale -a
#ENCODING 'UTF8' LC_COLLATE = 'Russian_Russia.1251' LC_CTYPE = 'Russian_Russia.1251' TEMPLATE = template0
# - uses: pdm-project/setup-pdm@v3 # - uses: pdm-project/setup-pdm@v3
# with: # with:
# python-version: 3.10 # python-version: 3.10

View File

@ -1,5 +1,6 @@
using DD.Persistence.API; using DD.Persistence.API;
using System.Globalization;
namespace DD.Persistence.App; namespace DD.Persistence.App;
@ -7,7 +8,8 @@ public class Program
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {
CultureInfo uiCulture = CultureInfo.CurrentUICulture;
CultureInfo.CurrentUICulture = new CultureInfo("en-EN");
var host = CreateHostBuilder(args).Build(); var host = CreateHostBuilder(args).Build();
Startup.BeforeRunHandler(host); Startup.BeforeRunHandler(host);
host.Run(); host.Run();