Commit Graph

8 Commits (da13e5bbd5da2a1ceb838c5a4836a0cabd8bdf69)

Author SHA1 Message Date
mrlan ab01b8e19b Hui-Build (#55)
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>
2022-11-01 21:43:01 +08:00
Lan Hui 8647af3158 build.sh: use a variable DEPLOYMENT_DIR to represent the code folder 2022-02-07 13:56:14 +08:00
Hui Lan 18684ada6b build.sh: deploy the new code 2022-02-05 22:59:45 +08:00
mrlan 6754930707 Merge pull request 'BugFix293' (#14) from BugFix293 into master
Reviewed-on: http://121.4.94.30:3000/mrlan/EnglishPal/pulls/14
2021-08-30 08:31:56 +08:00
Hui Lan baf333678a main.py and build.sh: shuffle the articles first before select one, relax selection range, keep the database
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
2021-08-30 08:18:47 +08:00
Lan Hui 5e322f067b requirements.txt includes dependencies of the program. difficulty.py is modified in this fix. Not sure why build.sh is included. 2021-08-20 19:27:44 +08:00
Hui Lan 936a3dd1e6 build.sh: fix error: container name EnglishPal already in use. 2021-07-30 13:20:01 +08:00
Hui Lan c1062eef31 build.sh: give the container a name EnglishPal. 2021-07-16 19:04:43 +08:00