Code Monkey home page Code Monkey logo

hkkf's Introduction

React 项目 --- 好客租房

想要运行首先要开启数据库(数据库想要的可以找我:[email protected]

数据库的文件名为 :hkzf_v1

需要先把里面的 db 文件夹里面的 mysql 文件导入自己的数据库

数据库的账户和密码都是 root ,如果你的不是还请先修改,然后再导入

修改密码的操作为:

alter user 'root'@'localhost' identified with mysql_native_password by 'root'

导入完成之后,在 hkzf_v1 目录下,打开 命令行,输入:

npm start

完成后会提示数据库连接成功

接下来还需要安装 serve 全局包,运行如下命令:

npm i serve -g

安装成功后,在项目的根目录下运行:

serve -s build

打开给你的链接,即可看到界面

hkkf's People

Watchers

 avatar

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.