Code Monkey home page Code Monkey logo

user-manager's Introduction

Django + Vue-element-admin + Casbin 权限系统

部署方式

  • git clone https://github.com/towithyou/user-manager.git

  • 前端

    • cd frontend && npm i
    • 修改 .env.production 地址改为后端接口地址
  • 后端

    • mysql 5.7 +
    • Django==2.2
    • 部署完后执行setup_data.py 脚本
  • docker-compose部署demo

    • docker-compose up -d 即可
    • 配置下/etc/hosts 访问的ip demo.usermanager.com
    • 默认用户名admin, 密码admin。

注意:
由于没有配置跨域,在前端代码里把域名写死了。域名必须是demo.usermanager.com
docker部署完后,docker logs -f user-manager 观察日志,有日志更新后再访问

用户管理

user

角色信息

role1

role2

前端视图管理

view

user-manager's People

Contributors

towithyou avatar

Stargazers

Liuxz avatar

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.