Project

General

Profile

Actions

Task #7084

closed
AB

Survey Django App Installation v2

Task #7084: Survey Django App Installation v2

Added by Ahmed Bilal over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/26/2019
Due date:
% Done:

0%

Estimated time:
PM Check date:

Description

Distro: Alpine

NS Updated by Nico Schottelius over 6 years ago Actions #1

  • Priority changed from Normal to Immediate

AB Updated by Ahmed Bilal over 6 years ago Actions #2

(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})

NS Updated by Nico Schottelius over 6 years ago Actions #3

If we skip LDAP, how would people be authenticated to fill in the
survey?

writes:

AB Updated by Ahmed Bilal over 6 years ago Actions #4

Just make it public and ask them their emails.

NS Updated by Nico Schottelius over 6 years ago Actions #5

Sounds about right -- can you coordinate with Sanghee to launch the
survey by Sunday?

writes:

AB Updated by Ahmed Bilal over 6 years ago Actions #6

I will. Thanks :thumbup:

AB Updated by Ahmed Bilal over 6 years ago Actions #7

  • Status changed from New to Feedback

AB Updated by Ahmed Bilal over 6 years ago Actions #9

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

AB Updated by Ahmed Bilal over 6 years ago Actions #10

  • Assignee set to Nico Schottelius
  • Priority changed from Immediate to Normal

It is done.

NS Updated by Nico Schottelius over 6 years ago Actions #11

  • 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.

LN Updated by ll nu over 6 years ago Actions #12

Looks good from my side.

LN Updated by ll nu over 6 years ago Actions #13

  • Status changed from Feedback to Closed

AB Updated by Ahmed Bilal over 6 years ago Actions #14

  • Assignee deleted (Ahmed Bilal)
Actions

Also available in: PDF Atom