Simple web application for collecting cough recordings from patients with Covid-19.
Diffusion Coughvid_web (master)
Recent Commits
Recent Commits
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
232dc1f6863d | tomas.teijeiro | Fixed error in zenodo link. | Jul 6 2021 | ||||
24e9db733f71 | tomas.teijeiro | Updated reference to paper in About | Jul 6 2021 | ||||
23001a061e65 | tomas.teijeiro | Updated reference to the paper in the About section. | Jul 6 2021 | ||||
e00f4c46811a | tomas.teijeiro | Updated about with the second version of the dataset. | May 21 2021 | ||||
68c5b1e5e000 | tomas.teijeiro | New specific version for collecting recordings from Dr. Alain Sauty. | Jan 21 2021 | ||||
a6379353cd07 | tomas.teijeiro | Updated main application for Safari compatibility | Nov 26 2020 | ||||
e8cbb0dffe21 | tomas.teijeiro | Changes in the UPM app to improve compatibility with Safari. | Nov 26 2020 | ||||
0be13c546160 | tomas.teijeiro | Added polyfill solution to the main app. | Nov 26 2020 | ||||
ae06ef5de3e0 | tomas.teijeiro | Added polyfill to support recordings in Safari. | Nov 25 2020 | ||||
dc708f3cb396 | tomas.teijeiro | Added UPM logo | Nov 24 2020 | ||||
2e954f9df12a | tomas.teijeiro | Protocol adapted for capturing sustained vocalization rather than breathing. | Nov 24 2020 | ||||
e541a14cfc8c | tomas.teijeiro | Added a new location for the collection of validated recordings from UPM. New… | Nov 24 2020 | ||||
2496d70bf8e0 | tomas.teijeiro | Minor fix in the html tags. | Oct 16 2020 | ||||
19d85a4f9b81 | orlandic | adding dataset, c4science, and arxiv links to site | Oct 16 2020 | ||||
651615d6b360 | tomas.teijeiro | Test minor change | Jun 15 2020 |
README.md
README.md
Coughvid
Simple web application for the collection of sound records of cough from patients with Covid-19.
This website has been created with hugo+syna. The source project for the static part of the web is the syna-epfl folder. Once compiled, this is the "public" folder, that has been updated in the following way:
- Add the cgi-bin folder for the ubuntu script.
- Add the js folder and the app, jquery and progressbar sources.
- Add the server SSL keys: key.pem and cert.pem
- Modify index.html to assign an id to the Record button, add the #progressBar and #thanks components, and the corresponding minor CSS tweaks. Also, include the required js files.
Deployment instructions on coughvid.epfl.ch
- All files and folders in the repository have to be copied to /var/www/html/ (except .git, of course).
- The upload.py cgi script has to be copied to /var/www/cgi-bin/, with execution permissions.
- Update upload.py to set DB_PATH = '/data/coughvid_records', and remove cgitb.
- The problems we found with SELinux so far were:
- Permission for running CGI scripts. Make sure that there is the appropriate rule in SELinux for the /var/www/cgi-bin/ folder, with the command: $ semanage fcontext --list | grep cgi-bin
- /var/www/cgi-bin(/.*)? all files system_u:object_r:httpd_sys_script_exec_t:s0
- If still not working, $ restorecon -Rv /var/www/**cgi**-bin/.
- Add a rule in SELinux to give write permissions in the database folder:
- $ semanage fcontext -a -t httpd_sys_rw_content_t "/data/coughvid_records(/.*)?"
- $ restorecon -Rv /data/coughvid_records/
- Permission for running CGI scripts. Make sure that there is the appropriate rule in SELinux for the /var/www/cgi-bin/ folder, with the command: $ semanage fcontext --list | grep cgi-bin
c4science · Help