This commit is contained in:
parent
17daf81fa4
commit
8220d23a72
@ -23,12 +23,13 @@ jobs:
|
|||||||
apt update
|
apt update
|
||||||
apt install -y locales
|
apt install -y locales
|
||||||
locale-gen ru_RU.UTF-8
|
locale-gen ru_RU.UTF-8
|
||||||
apt install -y postgresql
|
locale-gen en_US.UTF-8
|
||||||
|
apt install -y postgresql-15
|
||||||
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'"
|
sudo -u postgres -s psql -U postgres -d postgres -c "CREATE DATABASE persistence WITH OWNER 'postgres' ENCODING 'UTF8' LC_COLLATE = 'en_US.UTF-8' LC_CTYPE = 'en_US.UTF-8' TEMPLATE = template0"
|
||||||
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
|
||||||
|
Loading…
Reference in New Issue
Block a user