Win10はpostgrestをインストールし、チュートリアルを開始します

1.PowerShellを直接開きます

2.入力します

Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')

# or shorter
iwr -useb get.scoop.sh | iex
3.インストールが完了したら、新しいd:\ pst.txtを作成し、データベースリンクの内容を入力します

db-uri = "postgres://postgres:你的密码@127.0.0.1:5432/数据名字"
db-schema = "public"
db-anon-role = "postgres"
db-pool = 10
db-pool-timeout = 10
server-host = "0.0.0.0"
server-port = 3000
4. powershellを実行して、scoop installpostgrestを実行します

5.postgrest d:\ pst.txt

成功、前提はあなたがpgsqlデータベースをインストールしたことです

おすすめ

転載: blog.csdn.net/ccagy/article/details/108695899