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

Add script for applying the offline-mode to the current branch #9951

Merged
merged 2 commits into from
Oct 11, 2024

Conversation

jimchamp
Copy link
Collaborator

@jimchamp jimchamp commented Oct 11, 2024

Creates script that, when executed, applies the offline-mode branch's changes to the branch that is currently checked out.

To apply these changes locally, do the following:

  1. Ensure that you are on the correct branch.
  2. Run docker compose exec -uroot web ./scripts/apply_offline_mode.sh

The script will then download and apply the changes to your current branch. To undo these changes, add a --reverse flag to the command:
docker compose exec -uroot web ./scripts/apply_offline_mode.sh --reverse

Technical

Testing

Screenshot

Stakeholders

Copy link
Collaborator

@scottbarnes scottbarnes left a comment

Choose a reason for hiding this comment

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

Looks good to me, both applying and reversing.

@scottbarnes scottbarnes merged commit bd2f887 into internetarchive:master Oct 11, 2024
3 checks passed
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