Git Product home page Git Product logo

Comments (7)

maoxiaoquan avatar maoxiaoquan commented on May 29, 2024

数据库用的是mysql , 你下一个 phpstudy ,然后建一个数据库,默认的账户密码都是root,今天下午晚点,我在网站贴一个详细的教程出来

from kite.

 avatar commented on May 29, 2024

from kite.

afacode avatar afacode commented on May 29, 2024

自己建一个数据库,在 server/config/index.js 里面的 database 直接写死,或者在寻找 应该在db/lowdb/db.json mysql 增加, 运行前先应该要npm run mysql建表, 建表时,在代码修改
db/mysqldb/index.js 多exports 一个 sequelizecreate.js 修改代码
models.sequelize.sync({ force: true }).then(() => { console.log('数据表创建成功') })

from kite.

maoxiaoquan avatar maoxiaoquan commented on May 29, 2024

https://www.xiaosuibi.com/p/10007

安装的教程

目前还有一些不完善的地方,
初始化里面的代码主要是为了实现功能,所以代码有些不美观,但是功能是没问题的,

from kite.

maoxiaoquan avatar maoxiaoquan commented on May 29, 2024

按照这个来吧,初始化里面有一些权限的初始化,暂时还不能略过,有什么问题,在这里提就可以,

from kite.

maoxiaoquan avatar maoxiaoquan commented on May 29, 2024

接下来,主要改一些未发现的bug,然后优化代码,

from kite.

 avatar commented on May 29, 2024

跑起来了 谢谢

from kite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.