Skip to content

dogscar/next

 
 

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

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 50.7%
  • TypeScript 44.3%
  • CSS 4.9%
  • HTML 0.1%