<commit_before>#NTHUOJ_WEB
=======

##License
---
Please refer to MIT license with [our license file](https://github.com/bruce3557/NTHUOJ_web/blob/master/LICENSE).

##Install Guide
---

###Get our project
```
git clone <EMAIL>:bruce3557/NTHUOJ_web.git
```

####Dependencies:
* python2.7
* django1.7
* mysql-server
* python-mysqldb
* django-axes
* django-autocomplete-light
* bower
* django-bower
* curl
* django-datetime-widget
* django-bootstrap-form

###Installation:
* Execute install.py for initial setting.
    ```
    python install.py
    ```

* After installing, you can modify `'project_root/config/nthuoj.cfg'` if your want to change project configurations.

###Email host:
* The email host should be gmail.

* Your google account seeting 'Access for less secure apps' should turn on.
<commit_msg>add readme<commit_after>#NTHUOJ_WEB
=======

##License
---
Please refer to MIT license with [our license file](https://github.com/bruce3557/NTHUOJ_web/blob/master/LICENSE).

##Install Guide
---

###Get our project
```
git clone <EMAIL>:bruce3557/NTHUOJ_web.git
```

####Dependencies:
* python2.7
* django1.7
* mysql-server
* python-mysqldb
* django-axes
* django-autocomplete-light
* bower
* django-bower
* curl
* django-datetime-widget
* django-bootstrap-form
* requests

###Installation:
* Execute install.py for initial setting.
    ```
    python install.py
    ```

* After installing, you can modify `'project_root/config/nthuoj.cfg'` if your want to change project configurations.

###Email host:
* The email host should be gmail.

* Your google account seeting 'Access for less secure apps' should turn on.

###Virtual judge account
* We use [virtual judge](vjudge.net) for judging codes from other resources(UVA, ICPC, etc).


{'fraction_non_alphanumeric': 0.13605051664753157, 'fraction_numerical': 0.013777267508610792, 'mean_word_length': 4.314024390243903, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7071001', 'n_tokens_mistral': 602, 'n_tokens_neox': 575, 'n_words': 161}