Task #7084
closedSurvey Django App Installation v2
Added by Ahmed Bilal about 5 years ago. Updated about 5 years ago.
0%
Description
Distro: Alpine
Updated by Nico Schottelius about 5 years ago
- Priority changed from Normal to Immediate
Updated by Ahmed Bilal about 5 years ago
(Django-survey-and-report + sqlite3 + gunicorn + supervisord + nginx + letsencrypt (https:// working) ) with cdist. See https://code.ungleich.ch/ungleich-intern/dot-cdist/tree/survey_report/type/__ungleich_survey_report
Remaining:
- LDAP (What to do about LDAP? I have no idea. Should I patch it to work with survey app)? If we are short on time we should make it open/public (just like we did previously Google Forms).
- Backup (Still trying to figure out how it (ccollect) is supposed to get my data from vm to backup{5 | 6})
Updated by Nico Schottelius about 5 years ago
If we skip LDAP, how would people be authenticated to fill in the
survey?
redmine@ungleich.ch writes:
Updated by Ahmed Bilal about 5 years ago
Just make it public and ask them their emails.
Updated by Nico Schottelius about 5 years ago
Sounds about right -- can you coordinate with Sanghee to launch the
survey by Sunday?
redmine@ungleich.ch writes:
Updated by Ahmed Bilal about 5 years ago
- Assignee deleted (
Ahmed Bilal)
Can be found at https://survey.hack4glarus.ungleich.ch and cdist type can be seen at https://code.ungleich.ch/ungleich-intern/dot-cdist/tree/survey_report/type/__ungleich_survey_report
Updated by Ahmed Bilal about 5 years ago
To change "Welcome to Django Survey app" message to "Hack4Glarus application"
sed -i -e 's/{% trans \"Welcome to the Django Survey app\"%}/Hack4Glarus application/g' /usr/lib/python3.7/site-packages/survey/templates/survey/list.html
To change "Take the Survey" message to "Apply for"
sed -i -e 's/{% trans \"Take the Survey\"%}/Apply for/g' /usr/lib/python3.7/site-packages/survey/templates/survey/list.html
To change "I'm done!" message to "Submit"
sed -i -e "s/{% trans \"I\'m done!\" %}/Submit/g" /usr/lib/python3.7/site-packages/survey/templates/survey/survey.html
Updated by Ahmed Bilal about 5 years ago
- Assignee set to Nico Schottelius
- Priority changed from Immediate to Normal
It is done.
Updated by Nico Schottelius about 5 years ago
- Project changed from hack4glarus-2019-winter to Open Infrastructure
- Assignee changed from Nico Schottelius to Ahmed Bilal
Question: is your code merged back into cdist? If yes, close the issue, if no, coordinate with Balazs for merging.