Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create enabling_surveys_using_config_files.md #847

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

sebastianbarry
Copy link

@shankari @JGreenlee Here is the first-draft for the guide for adding surveys support through the configs

Copy link
Contributor

@shankari shankari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebastianbarry @JGreenlee this page has a lot of details on the config format and not nearly enough on how to set up the environment to work with the existing configurations.
Note that @asiripanich has not been running this code for the past month. You need to walk him through the setup in greater detail.

docs/manage/enabling_surveys_using_config_files.md Outdated Show resolved Hide resolved
docs/manage/enabling_surveys_using_config_files.md Outdated Show resolved Hide resolved
Copy link
Contributor

@shankari shankari left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix grammar

@@ -218,7 +218,7 @@ or

2. Start the emulator and uninstall/reinstall your `em-devapp.app` so that it opens up with the config login screen and prompts you to scan into a Study/Program.

3. Open Safari in the emulator and paste in your `emission://join_study?label=YOUR_STUDY_OR_PROGRAM_LABEL&source=github`, and it should automatically open up e-mission and your config will successfully be loaded into the app with the study/program you've created.
3. Open Safari in the emulator and paste in your `emission://join_study?label=YOUR_STUDY_OR_PROGRAM_LABEL&source=github`, and it should automatically open up e-mission and your config will successfully be loaded into the app with the study/program you've created. _If you are using an emulator with Google Chrome, this will **NOT** work. You must click on the link, by starting up the docker-compose of [`nrel-openpath-deploy-configs`](https://github.com/sebastianbarry/nrel-openpath-deploy-configs/tree/surveys-info-and-surveys-data) and navigating to `http://localhost:9090/` to see a list of available links found in the `https://github.com/sebastianbarry/nrel-openpath-deploy-configs/blob/surveys-info-and-surveys-data/survey-resources/index.js`_
Copy link
Contributor

@shankari shankari Feb 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sebastianbarry Have you actually tried this? (navigating to http://localhost:9090)
I think you will find that it doesn't actually work

Copy link
Author

@sebastianbarry sebastianbarry Apr 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For Android emulator, we use 10.0.2.2 to access your local device so I fixed this in the document in ab97fa9

@shankari this appears to be the last comment in this PR so it should be good to close

@sebastianbarry
Copy link
Author

sebastianbarry commented Feb 10, 2023

Here is the video of signing into a program/study on an Android emulator

Screen.Recording.2023-02-10.at.10.49.16.AM.mov

Here is the video of signing into a program/study on an iOS simulator

Screen.Recording.2023-02-09.at.2.37.18.PM.mov

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants