hodgesmr / mastodon_digest

A Python script that aggregates recent popular posts from your Mastodon timeline
BSD 3-Clause "New" or "Revised" License
436 stars 57 forks source link

Run it in Docker #1

Closed pikesley closed 1 year ago

pikesley commented 1 year ago

I like to run these kinds of things in Docker, to avoid installing a million versions of a million dependencies all over my laptop. To build and run it:

make build
make run

From that shell on the container, run it:

make digest

It outputs to a known path, ./digest.html, so from a different terminal, still in this directory, do

open digest.html

(at least on a Mac)

hodgesmr commented 1 year ago

Thanks for this. I went ahead an implemented my preferred Docker + Make structure (that closely looks like yours!) This is now available in 0.0.4.