Project

General

Profile

Actions

Task #7084

closed

Survey Django App Installation v2

Added by Ahmed Bilal almost 5 years ago. Updated over 4 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

Actions #1

Updated by Nico Schottelius over 4 years ago

  • Priority changed from Normal to Immediate
Actions #2

Updated by Ahmed Bilal over 4 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})
Actions #3

Updated by Nico Schottelius over 4 years ago

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

writes:

Actions #4

Updated by Ahmed Bilal over 4 years ago

Just make it public and ask them their emails.

Actions #5

Updated by Nico Schottelius over 4 years ago

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

writes:

Actions #6

Updated by Ahmed Bilal over 4 years ago

I will. Thanks :thumbup:

Actions #7

Updated by Ahmed Bilal over 4 years ago

  • Status changed from New to Feedback
Actions #9

Updated by Ahmed Bilal over 4 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
Actions #10

Updated by Ahmed Bilal over 4 years ago

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

It is done.

Actions #11

Updated by Nico Schottelius over 4 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.

Actions #12

Updated by ll nu over 4 years ago

Looks good from my side.

Actions #13

Updated by ll nu over 4 years ago

  • Status changed from Feedback to Closed
Actions #14

Updated by Ahmed Bilal over 4 years ago

  • Assignee deleted (Ahmed Bilal)
Actions

Also available in: Atom PDF