Giter Site home page Giter Site logo

edx_tools's Introduction

#edx tools 在本地管理和调试远程edx服务器

#Install

pip install fabric
git clone https://github.com/wwj718/edx_tools.git
cd edx_tools

#setting 在settings.py里填写服务器的账户和密码

#Usage ###查看所有可用指令 fab -f edx.py -l

###查看服务器状态 fab -f edx.py status

###重启edxapp fab -f edx.py restart_edxapp

###查看日志

  • 查看最新10条lms日志:fab -f edx.py tailLog 10,lms
  • 查看最新50条cms日志:fab -f edx.py tailLog 50,cms

###进入lms shell fab -f edx.py shell

###启用调试模式 fab -f edx.py devstack

###编译静态文件

  • 编译lms:fab -f edx.py update_assets:lms
  • 编译cms:fab -f edx.py update_assets:cms

###生成map文件(用于调试scss) fab -f edx.py create_scss_maps

###实时编译scss fab -f edx.py watch_assets

###edxapp.pip

  • 查看环境中有安装了哪些依赖库:fab -f edx.py edxapp_pip

edx_tools's People

Contributors

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