add readme file and fix the submission.py
This commit is contained in:
parent
da0c309bcb
commit
b44549b388
3 changed files with 1101 additions and 3 deletions
22
README.md
22
README.md
|
@ -1,2 +1,22 @@
|
|||
# online-judge
|
||||
LQD Online Judge
|
||||
### 1. Activate virtualenv:
|
||||
source dmojsite/bin/activate
|
||||
### 2. Remember to change the local_settings
|
||||
|
||||
### 3. Run server:
|
||||
python manage.py runserver 0.0.0.0:8000
|
||||
|
||||
### 4. Create configure file for judge:
|
||||
python dmojauto-conf
|
||||
|
||||
### 5. Create folder for problems, change the dir in judge conf file and local_settings.py
|
||||
|
||||
### 6. Connect judge:
|
||||
+ python manage.py runbridged
|
||||
+ dmoj 0.0.0.0 -p 9999 -c judge/conf1.yml (depend on port in the local_settings.py and directory of conf file)
|
||||
|
||||
### 7. Change vietnamese:
|
||||
- go to /home/cuom1999/DMOJ/site/locale/vi
|
||||
- open .po file
|
||||
- python manage.py compilemessages
|
||||
- python manage.py compilejsi18n
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue