Giter Site home page Giter Site logo

bingle's Introduction

Bingle

运行环境

Python3

依赖

pip3 install django

pip3 install pexpect

pip3 install demjson

语言编译环境

  • C:gcc

  • C++:g++

  • C#:Mono

  • Python:Python3

  • JAVA:Java12

  • Pascal:Free Pascal (https://github.com/graemeg/freepascal.git)

  • Perl:5.18

  • Ruby:2.2

  • Fortran:gfortran

  • Swift:Swift:4.2

  • 需要预先在服务器上安装各种语言的编译器,并将其路径加入到 PATH 中。开发测试的时候建议使用 Mac 电脑,可以一次性便捷安装所有的编译环境。

  • Mac 操作系统需要安装 Xcode Command Line Tools 。

  • 需要手动在项目根目录(与Templates平行)下创建log文件夹

运行程序

初始化数据库

python3 manage.py makemigrations
python3 manage.py migrate

启动

python3 manage.py runserver

代码结构

  • Bingle/Templetes 下为界面模板
    • urls.py 分发 url 请求
    • view.py 处理 urls.py 分发的请求
    • adminview.py 后台页面请求处理
    • compiler.py 处理编译和运行代码的主类
    • debugger.py 在线调试代码的主类
    • issue.py 问题数据库操作类
  • Background 为后台处理数据库、模型相关模块
    • models.py 定义了数据库模型

主要页面

可视化算法

问题页面 Markdown 展示

MarkDown 编辑器

测试题编辑展示

监视变量可编辑表格

bingle's People

Contributors

boxter007 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bingle's Issues

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.