GithubHelp home page GithubHelp logo

devops's Introduction

此练手项目已废弃,不再更新!

运行环境

Python2.7

Django1.9(pip install django==1.9)

依赖模块:

MySQLdb(apt-get install python-mysqldb)

部署步骤

1.下载源码

git clone https://github.com/lizhenliang/DevOps.git

cd DevOps

2.修改数据库连接地址

vi mysite/settings.py  

3.生成数据库表

python manage.py migrate

4.修改salt rest api连接地址

vi devops/salt_api.py

salt配置:https://github.com/lizhenliang/Shell-Scripts/blob/master/salt-api-config.sh

5.创建登录用户名

python manage.py createsuperuser

6.启动服务

python manage.py runserver 0.0.0.0:8888

7.生成PV/UV图表测试数据脚本

https://github.com/lizhenliang/Shell-Scripts/blob/master/pv_uv_test_data.sh

QQ技术群:323779636(Shell/Python运维开发群)

devops's People

Contributors

lizhenliang avatar

Watchers

James Cloos 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.