Better channel restoration for local dev with content proxying #5611
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
restore_channelmanagement command to be more robust and useful for restoring channels for local development:nginxto services started through Makefilemake dcservicesupfor proxying both devserver and content in developmentReferences
Supports ongoing improvements to curriculum automation (search recommendations)
Reviewer guidance
python contentcuration/manage.py restore_channel --editor a@a.com --source-url https://studio.learningequality.org --public --publish --token <your_studio_token> <channel_id>(the following is a small channel: d0ef6f71e4fe4e54bb87d7dab5eeaae2)make run-servicesthenpnpm run devserverNotes
I simply deleted the existing tests for the channel restoration. Since it's a development only command, the tests usefulness are questionable, but I'm willing to add tests later if it's desired.