a2oj icon indicating copy to clipboard operation
a2oj copied to clipboard

Add Stopwatch

Open amishra026 opened this issue 3 years ago • 3 comments

I was wondering if we could have a Stopwatch that starts as soon as the user clicks on the problem. This will help the user improve his/her timing which might matter to him/her. The time required will only be stored for a particular session, and not forever (so no username/password required). To end the timer, the time of submission on CF can be used.

amishra026 avatar Sep 29 '20 11:09 amishra026

Yeah this can be helpful for a great number of users, Do you want to try and implement this feature?

subodhk01 avatar Sep 29 '20 12:09 subodhk01

I'd like to try, although it would be my first contribution to open source. How should I start?

amishra026 avatar Sep 29 '20 13:09 amishra026

Start by forking the repository, then clone the forked repo onto your local machine. Then setup a python environment to install all the dependencies( refer https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/#using-requirements-files ), all the dependencies are in requirements.txt file. Then simply run python manage.py runserver to start a local server and access it via localhost:8000

subodhk01 avatar Sep 29 '20 13:09 subodhk01