Git Product home page Git Product logo

django-vue's Introduction

欢迎来到Django的世界,陪着我一起学习丰富此平台吧

是时候一起学习下一个知识点了

安裝套件

docker1.12+
docker-compose1.12+

docker-compose安装

curl -L https://github.com/docker/compose/releases/download/1.13.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
运行: docker-compose up -d

这篇可以学到什么

1.通过vue+django 前后端分离方式完成平台建设
2.通过ansible+redis 做异步处理,回调渲染
3.利用multiprocessing 同样可以做到异步处理,回调渲染
4.利用类可视化视图轻松完成CRUD操作

默认安装

由于此次需要nginx服务,所以需要小伙伴将80端口映射到本机电脑(我相信你可以) 默认提供域名为: test.com

实际体验 (由于作者很懒,启动加载很多操作,有些慢,请耐心等待会)

[业务操作]页面提供了3个测试脚本分别是: /opt/目录下的: lihao.py , lihao.sh , lihao.yml

[批量分发]页面提供了1个测试文件:/tmp/1.txt

由于测试原因,服务器只和本机SSH打通,所以默认可以连接localhost

顺便说一下,cmdb_fe.tar.gz 是我的vue源码,也是刚开始写,有兴趣还请多指教

成功访问就会是这样:

Image text

django-vue's People

Contributors

lh1284577 avatar

Watchers

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