Skip to content
 
 

Repository files navigation

如何安装

第一步

执行 NPM 包安装,并启动 Postgres 数据库

yarn install

必须使用 yarn !!!必须使用 yarn !!!必须使用 yarn !!!

第二步

修改数据库配置文件(ormconfig.yml):

参考如下:

default:
    type: "postgres"
    host: "192.168.109.120"
    port: 5432
    username: "postgres"
    password: "123qwe"
    database: "new"
    entities:
        - '**/*.entity.js'
    migrations:
        - '**/*.migration.js'
    logging: true
    migrationsRun: true
    subscribers:
        - '**/*.entity.subscriber.js'
    synchronize: false

yarn run dev

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages