it'samastodonbotthatpoststhemostrecentimagefromNASA'sAstronomyPictureoftheDay
itusesananas
howtouse(optional)createavenvtoisolatedependenciesfromthesystem
$python-mvenvvenv$sourcevenv/bin/activateinstalldependencies
$pipinstall-rrequirements.txtfillinconfigfile
$cpconfig/ananas.cfg.exampleconfig/ananas.cfg$$EDITORconfig/ananas.cfgrun
$ananasconfig/ananas.cfgenjoy
howtouse(docker)fillinconfigfile
$cpconfig/ananas.cfg.exampleconfig/ananas.cfg$$EDITORconfig/ananas.cfgbuild
$dockerbuild-tmastodon-apod.$#or,shortened:$makedockerstopandremovepotentialexistingcontainer
$dockerrm-fmastodon-apod$#or,shortened:$makedocker-rmandrun
$dockerrun-nmastodon-apod-d--restartunless-stopped-v$(pwd)/config:/app/config--user$(id-u)mastodon-apod$#or,shortened:$makedocker-runtheselastthreestepscanberunatoncewith
$makeup
评论