Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

FEATURE: Setting for populating posts with images #4

Merged
merged 1 commit into from Apr 22, 2021
Merged

Commits on Apr 21, 2021

  1. FEATURE: Setting for populating posts with images

    This adds the new `include_images_in_posts` setting to `dev.yml` (disabled by default). If it's enabled some posts will contain images from https://picsum.photos/. The images get cached locally to speed up subsequent calls of `dev:populate`.
    
    It also moves `redis-cli flushall` to the beginning of the `dev:populate` rake task. Otherwise it would delete jobs from the Sidekiq queue that are required for processing new posts. But it deletes the `UserEmail` jobs in order to prevent lots of errors when mailcatcher isn't running.
    gschlager committed Apr 21, 2021
    Copy the full SHA
    85a1efd View commit details
    Browse the repository at this point in the history