需要环境 Python3.8, Redis, PostgreSQL
Redis 和 PostgresSQL 的安装可以使用oj-tools中的docker配置文件
安装依赖:pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver
python manage.py createsuperuser
JetBrains PyCharm
flake8 --ignore=E722,W504 --exclude=venv,migrations,__pycache__ --max-line-length=120 .
celery -A ddl worker --concurrency=1 -Q result
docker-compose -f deploy.yaml build
docker-compose -f deploy.yaml up -d
docker-compose -f deploy.yaml build --build-args HTTPS_PROXY=socks5://127.0.0.1:1080