<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Anthias (Screenly) on allen@gattis.org:</title>
    <link>/docs/comms/signage/anthias/</link>
    <description>Recent content in Anthias (Screenly) on allen@gattis.org:</description>
    <generator>Hugo</generator>
    <language>en</language>
    <atom:link href="/docs/comms/signage/anthias/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Anthias Deployment</title>
      <link>/docs/comms/signage/anthias/imaging/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/comms/signage/anthias/imaging/</guid>
      <description>&lt;p&gt;If you do regular deployments you can create an image. A reasonable approach is to:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Shrink the last partition&lt;/li&gt;&#xA;&lt;li&gt;Zero fill the remaining free space&lt;/li&gt;&#xA;&lt;li&gt;Find the end of the last partition&lt;/li&gt;&#xA;&lt;li&gt;DD that to a file&lt;/li&gt;&#xA;&lt;li&gt;Use raspi-config to resize after deploying&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Or you can use PiShrink to script all that.&lt;/p&gt;&#xA;&lt;h2 id=&#34;installation&#34;&gt;Installation&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;chmod +x pishrink.sh&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo mv pishrink.sh /usr/local/bin&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h2 id=&#34;operation&#34;&gt;Operation&lt;/h2&gt;&#xA;&lt;div class=&#34;highlight&#34;&gt;&lt;pre tabindex=&#34;0&#34; style=&#34;background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;&#34;&gt;&lt;code class=&#34;language-bash&#34; data-lang=&#34;bash&#34;&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# Capture and shrink the image&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo dd &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;if&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;/dev/mmcblk0 &lt;span style=&#34;color:#000&#34;&gt;of&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;anthias-raw.img &lt;span style=&#34;color:#000&#34;&gt;bs&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;1M&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo pishrink.sh anthias-raw.img anthias.img&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;&lt;span style=&#34;color:#8f5902;font-style:italic&#34;&gt;# Copy to a new card&lt;/span&gt;&#xA;&lt;/span&gt;&lt;/span&gt;&lt;span style=&#34;display:flex;&#34;&gt;&lt;span&gt;sudo dd &lt;span style=&#34;color:#204a87;font-weight:bold&#34;&gt;if&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;anthias.img &lt;span style=&#34;color:#000&#34;&gt;of&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;/dev/mmcblk0 &lt;span style=&#34;color:#000&#34;&gt;bs&lt;/span&gt;&lt;span style=&#34;color:#ce5c00;font-weight:bold&#34;&gt;=&lt;/span&gt;1M&#xA;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you need to modify the image after creating it you can mount it via loop-back.&lt;/p&gt;</description>
    </item>
    <item>
      <title>API</title>
      <link>/docs/comms/signage/anthias/api/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>/docs/comms/signage/anthias/api/</guid>
      <description>&lt;p&gt;The API docs on the &lt;a href=&#34;https://developer.screenlyapp.com/&#34;&gt;web&lt;/a&gt; refer to screenly. Anthias uses an older API. However, you can access the API docs for the version your working with at&lt;/p&gt;&#xA;&lt;p&gt;&lt;code&gt;http://sign.your.domain/api/docs/&lt;/code&gt;&lt;/p&gt;&#xA;&lt;p&gt;You&amp;rsquo;ll have to correct the swagger form with correct URL, but after that you can see what you&amp;rsquo;re working with.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
