GITHUB
- Fork the repository
- Upload the csv file with your questions in the DATA folder (see the questionnaire.csv file for an example of the format)
- Edit the file createWebformDict.py by changing the name of the csv file and save the changes
- Set the quest_type variable to "seed" of "target"
- Click on the top-right (on your github user icon), and from the menu click on "Settings"
- At the bottom of the left panel, click on "Developer settings"
- On the left, click on "Personal access tokens"
- Click on "Generate new token"
- Give a name and copy your token
- Select scope "Repo"
STREAMLIT
-
login with github account
-
Open the drop-down menu next to "New app"
-
Select "From existing repo"
-
Select the github repository for the webform
-
Click on "Advanced settings"
-
Select Python version 3.7
-
In the Secrets textbox write
github_token = "insert_here_your_token"
-
Click on "Save"
-
Click on "Deploy"
You can share this link for the form:
https://share.streamlit.io/YOUR_GITHUB_PAGE/createwebform/main