项目运行
- 下载Postgres www.enterprisedb.com/downloads/p…
- 设置Postgres www.runoob.com/postgresql/…
安装完成后,打开 SQL shell,以下几个选项你可以自己输入,或者用默认的,默认回车就行,密码的地方为刚才你在安装过程中设置的密码:
$ /Library/PostgreSQL/11/scripts/runpsql.sh ;exit
Server [localhost]:
Database [postgres]:
Port [5432]:
Username [postgres]:
Password for user postgres:
psql (11.3) Type "help" for help.
- 安装官方的安装步骤 docs.tooljet.com/docs/contri…
- .env 数据库相关配置
PG_HOST=localhost
PG_PORT=5432
PG_USER=postgres
PG_PASS=
PG_DB=tooljet_development
- 分别执行 db:create,db:migrate,db:seed
- 最后执行在serve目录下执行 npm run start:dev