<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Getting started on Candybox</title><link>http://www.predatorray.me/candybox/docs/getting-started/</link><description>Recent content in Getting started on Candybox</description><generator>Hugo</generator><language>en-us</language><atom:link href="http://www.predatorray.me/candybox/docs/getting-started/index.xml" rel="self" type="application/rss+xml"/><item><title>Quick start</title><link>http://www.predatorray.me/candybox/docs/getting-started/quickstart/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://www.predatorray.me/candybox/docs/getting-started/quickstart/</guid><description>&lt;h1 id="quick-start"&gt;Quick start&lt;a class="anchor" href="#quick-start"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;The fastest way to try Candybox is the bundled Docker Compose stack. It starts the full system —
ZooKeeper, 3 BookKeeper bookies, 3 Candybox nodes, and the S3 gateway (on &lt;code&gt;:9711&lt;/code&gt;) — using the
published &lt;a href="https://hub.docker.com/r/zetaplusae/candybox"&gt;&lt;code&gt;zetaplusae/candybox&lt;/code&gt;&lt;/a&gt; image.&lt;/p&gt;
&lt;h2 id="with-docker-compose-recommended"&gt;With Docker Compose (recommended)&lt;a class="anchor" href="#with-docker-compose-recommended"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;p&gt;From a checkout of the &lt;a href="https://github.com/predatorray/candybox"&gt;repository&lt;/a&gt;:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker compose up -d
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker compose run --rm cli create-box photos
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;hello candybox&amp;#39;&lt;/span&gt; &lt;span class="p"&gt;|&lt;/span&gt; docker compose run --rm -T cli put photos hello.txt
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;docker compose run --rm cli get photos hello.txt &lt;span class="c1"&gt;# -&amp;gt; hello candybox&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Tear it down with &lt;code&gt;docker compose down&lt;/code&gt; (add &lt;code&gt;-v&lt;/code&gt; to also wipe the data volumes).&lt;/p&gt;</description></item><item><title>Concepts</title><link>http://www.predatorray.me/candybox/docs/getting-started/concepts/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://www.predatorray.me/candybox/docs/getting-started/concepts/</guid><description>&lt;h1 id="concepts"&gt;Concepts&lt;a class="anchor" href="#concepts"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Candybox borrows the bucket/object model from S3 but gives the pieces its own names.&lt;/p&gt;
&lt;h2 id="vocabulary"&gt;Vocabulary&lt;a class="anchor" href="#vocabulary"&gt;#&lt;/a&gt;&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Term&lt;/th&gt;
 &lt;th&gt;Meaning&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Box&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;a bucket — a named, flat namespace of keys&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Candy&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;an object — the bytes plus metadata stored under a key&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;CandyKey&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;an object key&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Syrup&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;a data ledger that holds object bytes&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;CandyLocator&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;the small pointer the index stores to find a Candy&amp;rsquo;s bytes inside a Syrup&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;&lt;em&gt;(Candy in a box — that&amp;rsquo;s the whole theme.)&lt;/em&gt;&lt;/p&gt;</description></item></channel></rss>