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

Instructions for mobile device testing on a branch #1479

Merged
merged 5 commits into from
Oct 7, 2022

Conversation

laineyhm
Copy link
Collaborator

@laineyhm laineyhm commented Sep 26, 2022

Description

We can use ngrok to create a URL that accesses what's in localhost from another device. This allows us to test local branches' functionality on mobile devices. This PR adds instructions about how to do this to Developer.md.

Also, we disable HTTPS redirects in Caddy to facilitate easy ngrok usage

Fixes #1478

Type of Change

-Expanding developer instructions

Testing on your branch

N/A

Checklist

  • I have performed a self-review of my own code
  • I have reviewed the title/description of this PR which will be used as the squashed PR commit message
  • [N/A ] I have commented my code, particularly in hard-to-understand areas
  • [N/A] I have added tests that prove my fix is effective or that my feature works

qa.languageforge.org testing

Reviewers: add/replace your name below and check the box to sign-off/attest the feature works as expected on qa.languageforge.org

  • Reviewer1 (YYYY-MM-DD HH:MM)
  • Reviewer2 (YYYY-MM-DD HH:MM)

@laineyhm laineyhm enabled auto-merge (squash) September 26, 2022 07:36
@github-actions
Copy link

github-actions bot commented Sep 26, 2022

Unit Test Results

368 tests   368 ✔️  9s ⏱️
    1 suites      0 💤
    1 files        0

Results for commit 6203f98.

♻️ This comment has been updated with latest results.

@megahirt
Copy link
Collaborator

I would like to get @longrunningprocess review before this is merged.

Copy link
Contributor

@longrunningprocess longrunningprocess left a comment

Choose a reason for hiding this comment

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

I'm not quite on board with this yet, I need to better understand. Maybe we can get together and discuss "in-person" first.

docker/ssl/Caddyfile Show resolved Hide resolved
docs/DEVELOPER.md Outdated Show resolved Hide resolved
@alex-larkin alex-larkin added the engineering Tasks which do not directly relate to a user-facing feature or fix label Sep 29, 2022
@megahirt megahirt enabled auto-merge (squash) October 6, 2022 08:51
Copy link
Contributor

@longrunningprocess longrunningprocess left a comment

Choose a reason for hiding this comment

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

I really like those updates to the docs, thanks @megahirt , just one final question about the necessity of that platform line

docker/docker-compose.yml Outdated Show resolved Hide resolved
laineyhm and others added 4 commits October 7, 2022 10:07
We can use ngrok to create a URL that accesses what's in localhost from another device.
This allows us to access the unencrypted HTTP localhost if we want to, which is useful when used with ngrok
@megahirt megahirt force-pushed the mobile-branch-testing-instructions branch from cc01515 to d92686e Compare October 7, 2022 03:09
also add a TOC heading for mobile device testing
@megahirt megahirt force-pushed the mobile-branch-testing-instructions branch from f3a32d2 to 6203f98 Compare October 7, 2022 03:22
Copy link
Collaborator

@megahirt megahirt left a comment

Choose a reason for hiding this comment

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

This is ready to merge

@megahirt megahirt dismissed longrunningprocess’s stale review October 7, 2022 03:55

After cleaning up this PR, this is good to go. Just documentation change with the approved disable_https_redirect

@megahirt megahirt merged commit b5280eb into develop Oct 7, 2022
@megahirt megahirt deleted the mobile-branch-testing-instructions branch October 7, 2022 03:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
engineering Tasks which do not directly relate to a user-facing feature or fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chore: developer instructions for mobile device testing on a local branch
4 participants