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 install postgrest

5.postgrest d:\pst.txt

成功啦,前提是自己装好了pgsql数据库

猜你喜欢

转载自blog.csdn.net/ccagy/article/details/108695899