Giter Club home page Giter Club logo

python_yaodian's Introduction

基于python+django+vue.js开发的药店信息管理系统,学习过程中,遇到问题可以付费咨询:lengqin1024(微信)

功能介绍

平台采用B/S结构,后端采用主流的Python语言进行开发,前端采用主流的Vue.js进行开发。

功能包括:药品管理、分类管理、顾客管理、用户管理、日志管理、系统信息模块。

演示地址

http://yaodian.gitapp.cn

演示帐号:

用户名:admin123 密码:admin123

代码结构

  • server目录是后端代码
  • web目录是前端代码

部署运行

后端运行步骤

(1) 安装python 3.8

(2) 安装依赖。进入server目录下,执行 pip install -r requirements.txt

(3) 安装mysql 5.7数据库,并创建数据库,命名为xxx,创建SQL如下:

CREATE DATABASE IF NOT EXISTS xxx DEFAULT CHARSET utf8 COLLATE utf8_general_ci

(4) 恢复xxx.sql数据。在mysql下依次执行如下命令:

mysql> use xxx;
mysql> source D:/xxx/xxx/xxx.sql;

(5) 启动django服务。在server目录下执行:

python manage.py runserver

前端运行步骤

(1) 安装node 16.14

(2) 进入web目录下,安装依赖,执行:

npm install 

(3) 运行项目

npm run dev

常见问题

  • 连接后端失败怎么办?

编辑前端的constants.js文件,将base_url设置为你自己电脑的ip和端口

  • 需要什么数据库版本?

本系统采用的是mysql5.7开发的,理论上5.7以上都支持

  • pip安装依赖失败怎么样?

建议使用国内镜像源安装

技术咨询

微信:lengqin1024

python_yaodian's People

Contributors

geeeeeeeek 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.