choco install postgresql --params '/Password:,bkfqy1' --params-global CREATE ROLE press_pg PASSWORD ',bkfqy1' LOGIN SUPERUSER CREATE DATABASE press_pg
net user postgres ,bkfqy1 /add initdb.exe -D "c:\pg_press" --locale=Russian_Russia --encoding=UTF8 -U postgres -W pg_ctl register -D "c:\pg_press" -N PostgreSQL -U postgres -P ",bkfqy1" -S a net start PostgreSQL createdb -U postgres press
https://timeweb.com/ru/community/articles/kak-ustanovit-postgresql-na-ubuntu-18-04-1 https://postgrespro.ru/docs/postgrespro/11/role-attributes sudo apt-get install postgresql CREATE ROLE press_pg PASSWORD ',bkfqy1' LOGIN SUPERUSER CREATE DATABASE press_pg
--pg_ctl init -D c:\pgsql -o --locale=ru_RU
initdb.exe -D "c:\pg_press" --locale=Russian_Russia --encoding=UTF8 -U ".\postgres" -W --locale=ru_RU
--sc create pgsql_cluster displayname= "PostrgeSQL_Cluster" obj= ".\postgres" password= ",bkfqy1" start= auto binPath= "pg_ctl.exe runservice -w -N pgsql_cluster -D c:\pg_press"
pg_ctl register -D "c:\pg_press" -N PostgreSQL -U ".\postgres" -P ",bkfqy1" -S a
pg_ctl unregister -N PostgreSQL
net start PostgreSQL
psql -d template1 -U ".\postgres"
psql -U postgres
git push origin master
git remote add heroku https://git.heroku.com/pressb.git npm i -g heroku heroku local heroku ps:scale web=0 // heroku ps:scale web=1 heroku logs --tail git push heroku master heroku open heroku config -a pressb heroku config:set RECREATE_DB=1