This commit is contained in:
parent
1852645ae9
commit
19317b5417
@ -26,8 +26,9 @@ jobs:
|
||||
apt install -y postgresql
|
||||
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 "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
|
||||
#ENCODING 'UTF8' LC_COLLATE = 'Russian_Russia.1251' LC_CTYPE = 'Russian_Russia.1251' TEMPLATE = template0
|
||||
# - uses: pdm-project/setup-pdm@v3
|
||||
# with:
|
||||
# python-version: 3.10
|
||||
|
@ -1,5 +1,6 @@
|
||||
|
||||
using DD.Persistence.API;
|
||||
using System.Globalization;
|
||||
|
||||
namespace DD.Persistence.App;
|
||||
|
||||
@ -7,7 +8,8 @@ public class Program
|
||||
{
|
||||
public static void Main(string[] args)
|
||||
{
|
||||
|
||||
CultureInfo uiCulture = CultureInfo.CurrentUICulture;
|
||||
CultureInfo.CurrentUICulture = new CultureInfo("en-EN");
|
||||
var host = CreateHostBuilder(args).Build();
|
||||
Startup.BeforeRunHandler(host);
|
||||
host.Run();
|
||||
|
Loading…
Reference in New Issue
Block a user