Skip to content

Commit 8da652a

Browse files
committed
Add executable example
1 parent 98e32d6 commit 8da652a

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

index.html

+27
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,33 @@ <h2 class="text-l mt-4 text-gray-700">Joy is a web framework written in
203203
</div>
204204
</div>
205205

206+
<div class="lg:w-2/3 p-4 mx-auto text-gray-700">
207+
<div class="lg:grid sm:grid-flow-row lg:grid-flow-col lg:grid-cols-2 gap-10 text-gray-700">
208+
<div>
209+
<div class="text-2xl text-black">Deploy a single binary</div>
210+
211+
<p class="mt-4">
212+
Say goodbye to complicated deploys that involve multiple runtime dependencies. Joy compiles
213+
to an executable.
214+
</p>
215+
<p class="mt-4">
216+
Compile your code for the target machine, copy it over and start it up. Deploy finished.
217+
</p>
218+
</div>
219+
220+
<div>
221+
<pre>
222+
<code class="rounded-lg bash">
223+
joy new easy-deploy
224+
cd easy-deploy
225+
jpm build
226+
./build/easy-deploy # => Server listening on http://localhost:9001
227+
</code>
228+
</pre>
229+
</div>
230+
</div>
231+
</div>
232+
206233
<script data-goatcounter="https://joyframework.goatcounter.com/count" async src="//gc.zgo.at/count.js"></script>
207234
<script src="js/highlight.pack.js"></script>
208235
<script>hljs.initHighlightingOnLoad();</script>

0 commit comments

Comments
 (0)