From c292c1433dba237d56e8163b327c57207dd1f516 Mon Sep 17 00:00:00 2001 From: Phuoc Dinh Le <47278241+cuom1999@users.noreply.github.com> Date: Sat, 2 Jan 2021 02:34:51 -0600 Subject: [PATCH] Update README.md --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index d996a5e..ec141a8 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,18 @@ dmoj 0.0.0.0 -p 9999 -c ``` Here we suppose you use the default port 9999 for bridge in `settings.py`. You can create multiple judges, each should be in a seperate terminal. +**Optional** + +5. Run celery worker (This is server's queue. It may be necessary in some functions) +```bash +celery -A dmoj_celery worker +``` + +6. Run a live event server (So everything is updated lively like in the production) +```bash +node websocket/daemon.js +``` + ## Deploy Most of the steps are similar to Django tutorials. Here are two usual steps: