Git Product home page Git Product logo

syoj's Introduction

996.ICU

Hello SYOJ!

一个开源的 OI/ACM/icpc在线测评平台,基于Flask版的开源项目SYZOJ二次开发

依赖项

mysql 注意:本文档不介绍mysql的配置工作

python3

flask

flask-sqlalchemy

pymysql

如何安装它

以下教程以ubuntu为例,其他linux请自行替换對應的包管理器

1.安装python3以及pip

sudo apt install python3 python3-pip -y

2.安装flask等python模块

sudo pip3 install flask flask-sqlalchemy pymysql

3.下载、配置并运行syoj

sudo apt install git -y && git clone https://github.com/Edify-Studio/SYOJ.git
cd SYOJ && sudo python3 install.py

然后根据提示安装即可,安装后会自动运行

4.直接运行syoj

sudo nohup python3 run.py &

如何运行评测机

1.安装TJudger

sudo python setup.py install

2.给予 SYOJ/syzoj-judge/runner 运行权限

chmod +x runner

3.使用Python2运行judge.py

sudo nohup python judge.py &

附:MySQL中文设置:

alter table XXX convert to character set utf8;

TODO LIST

0.后端更换使用Tornado

1.一个更为简单易用的安装&管理脚本

2.网站后台界面

3.更加友好的前端交互设计

4.网页响应式

5.前后端分离

6.评测机支持Ubuntu 16.04

7.简单的防攻击措施

特别鸣谢

@TimHsue
@Kench
@北海若
@wanzzhehe
@Chenyao233
@Nishikino_KKi

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.