Skip to content

maslow/hogwarts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Just do it!

Hogwarts , Interactive Programming Teaching Platform

Cluster Setup (Production)

Install Docker Reference

Setup cluster

    # clone repo
    git clone https://code.aliyun.com/step8step/hogwarts.git

    cd ./hogwarts

    # init cluster
    docker swarm init

    # create a password for portainer admin
    # replace `abc123` with your actual password
    echo -n abc123 | docker secret create portainer-pass -

    # login aliyun registry hub
    docker login --username=wangfugen@126.com registry.cn-hongkong.aliyuncs.com

    # launch cluster
    docker stack deploy -c docker-stack.yaml hogwarts --with-registry-auth

Localhost Setup (Development)

Server

See /server/README.md

Client

Hall /clients/hall/README.md Kitchen /clients/kitchen/README.md

About

支持任何语言的在线编程训练平台;基于测试驱动的编程习题系统;基于 docker 容器运行;

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages