Make English Pal docker run automatically each time after Ubuntu reboot.
Hui
Co-authored-by: Hui Lan <lanhui@zjnu.edu.cn>
Reviewed-on: http://121.4.94.30:3000/mrlan/EnglishPal/pulls/55
Co-authored-by: mrlan <mrlan@noreply.121.4.94.30>
Co-committed-by: mrlan <mrlan@noreply.121.4.94.30>
main.py:
- shuffle the articles first before select one
- relax selection range (see the function call within_range)
build.sh:
- keep the database wordfreqapp.db so that the user could login again next time after the program is rebuilt.
Hui