Coder Social home page Coder Social logo

heyi5301332 / wjcat-release Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shanghaobo/wjcat-release

1.0 0.0 2.0 7.69 MB

问卷喵——vue和django开发的问卷调查网站。

Home Page: https://www.wjcat.com

Python 38.75% JavaScript 12.26% HTML 0.32% Vue 48.67%

wjcat-release's Introduction

问卷调查网站

使用 vue 和 django 开发的问卷调查网站。 在线演示(账号密码:shanghaobo)

示例

demo

功能

  • 问卷设计
    • 问卷设计
    • 创建问卷
    • 编辑问卷
    • 发布问卷
    • 删除问卷
    • 分享问卷
  • 结果分析
    • 回答统计
    • 数据可视化
  • 后台管理
    • 封禁用户
    • 删除问卷

结构设计

  • 层次方框图

问卷调查系统层次方框图

  • ER 图

问卷调查系统ER图

  • DFD 图

问卷调查系统DFD图

环境

  • Node.js:v10.15.1
  • Vue.js:2.0
  • Python:3.7.0
  • Django:2.1.2

运行说明

  1. 在 wjcatAdmin 里的 seetting.py 配置数据库信息并迁移。具体步骤如下:

    1. 数据库配置位于 wjcat-release\wjcatAdmin\wjcatAdmin\settings.py 文件中(将 setting.example.py 改为 setting.py),具体代码如下(数据库的编码方式为 UTF-8):

      DATABASES = {
          'default': {
              'ENGINE': 'django.db.backends.mysql',
              'NAME': 'dbname',
              'USER': 'username',
              'PASSWORD': 'password',
              'HOST': '127.0.0.1',
              'PORT': '3306',
          }
      }
    2. wjcat-release\wjcatAdmin 目录下依次执行 python manage.py makemigrationspython manage.py migrate 命令对数据库进行迁移。若迁移不成功,可以在 wjcat-release\wjcatAdmin\myAdmin 目录下面新建一个 migrations 目录,而后 migrations 目录内新建一个名为 __init__.py 的空文件。

  2. 进入 wjcat 目录下,在当前目录打开 cmd 控制台,先使用 npm install 安装依赖,输入 npm run dev 启动前端项目。

  3. 进入 wjcatAdmin 目录下,在当前目录打开 cmd 控制台,输入 python manage runserver 启动后端项目。

  4. 打开浏览器,输入 http://127.0.0.1:8080 即可访问本系统。

  5. 也可直接在浏览器输入 http://www.wjcat.com 访问部署后的本系统。

有其他问题可以加入问卷喵交流群:850804401

wjcat-release's People

Contributors

shanghaobo avatar mengxinayan avatar

Stargazers

 avatar

Forkers

niuden lidazhou

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.