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

Host gradethis demo online #131

Open
garrettgman opened this issue Aug 6, 2020 · 1 comment
Open

Host gradethis demo online #131

garrettgman opened this issue Aug 6, 2020 · 1 comment

Comments

@garrettgman
Copy link
Member

gradethis_demo() launches a learnr tutorial locally that demos aspects fo gradethis for users. Some users are using the demo as a reference, which becomes awkward because they want to view it at the same time that they are hosting locally a tutorial that they are in the progress of writing. We can make life easier for these users by deploying a copy of gradethis demo to shinyapps.io. Bonus points if we can also:

  • Insert the demo into the repository readme as an iframe
  • Write a script that automatically redeploys the demo when it changes
@schloerke
Copy link
Collaborator

For deployment, we should mirror what learnr does: https://github.com/rstudio/learnr/blob/dfe7401e4e6916461819ba31061dd3801f088e92/.github/workflows/R-CMD-check.yaml#L102-L158

For tutorials, we should include in the pkgdown config (when it's added) like sortable: https://github.com/rstudio/sortable/blob/cdde09d915ee0bc73353b079c7afbed8cb70ab4a/_pkgdown.yml#L38-L41

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

No branches or pull requests

2 participants