Add make import target and improve virtualenv docs#52
Merged
Conversation
- Add `make import PATH=…` Makefile target as a friendlier entry point to `manage.py process_images` for users unfamiliar with virtualenvs - Update README quick-start sequence to setup → import → run, removing `make update` (which has its own section) and the now-redundant prose about sequential processing - Replace bare `python manage.py process_images` with `make import PATH=…` throughout README - Add "Running commands" section to docs/management_commands.md explaining how to use `.venv/bin/python` or activate the virtualenv before running any management command - Restore `process_images` as the documented command in docs/management_commands.md and remove the deleted `process_images_sync` entry Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes #51
What
A user reported that running
python manage.py process_imageswas confusing because the virtualenv isn't activated by default, making it non-obvious that.venv/bin/pythonis needed. This PR makes importing images a first-classmaketarget and improves the docs for users unfamiliar with virtualenvs.Changes
Makefile— addmake import PATH=…target, which wrapsmanage.py process_imagesusing the project's own.venv/bin/python. It also appears inmake help.README.md— reorder the lite install quick-start to the logical sequence: setup → import → run. Replace all references to barepython manage.py process_imageswithmake import PATH=….docs/management_commands.md— add a "Running commands" section at the top explaining how to use.venv/bin/pythonor activate the virtualenv before running any management command. Remove the defunctprocess_images_syncentry.