Skip to content

Generate Pelican site #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: gh-pages
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions archives.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="Pelican" />
<title>OpenLambda</title>
<link rel="stylesheet" href="https://open-lambda.org/theme/css/main.css" />
<link href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="OpenLambda Atom Feed" />
</head>

<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="https://open-lambda.org/">OpenLambda</a></h1>
<nav><ul>
<li><a href="https://open-lambda.org/category/misc.html">misc</a></li>
</ul></nav>
</header><!-- /#banner -->
<section id="content" class="body">
<h1>Archives for OpenLambda</h1>

<dl>
<dt>Wed 12 May 2021</dt>
<dd><a href="https://open-lambda.org/openlambda.html">OpenLambda</a></dd>
</dl>
</section>
<section id="extras" class="body">
<div class="blogroll">
<h2>links</h2>
<ul>
<li><a href="https://apache.org">Apache</a></li>
<li><a href="https://github.com/open-lambda/open-lambda">Git</a></li>
</ul>
</div><!-- /.blogroll -->
<div class="social">
<h2>social</h2>
<ul>
<li><a href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>

</ul>
</div><!-- /.social -->
</section><!-- /#extras -->

<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>.
</address><!-- /#about -->

<p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->

</body>
</html>
115 changes: 115 additions & 0 deletions author/open-lambda.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="Pelican" />
<title>OpenLambda - open-lambda</title>
<link rel="stylesheet" href="https://open-lambda.org/theme/css/main.css" />
<link href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="OpenLambda Atom Feed" />
</head>

<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="https://open-lambda.org/">OpenLambda</a></h1>
<nav><ul>
<li><a href="https://open-lambda.org/category/misc.html">misc</a></li>
</ul></nav>
</header><!-- /#banner -->

<aside id="featured" class="body">
<article>
<h1 class="entry-title"><a href="https://open-lambda.org/openlambda.html">OpenLambda</a></h1>
<footer class="post-info">
<abbr class="published" title="2021-05-12T11:11:00+12:00">
Published: Wed 12 May 2021
</abbr>

<address class="vcard author">
By <a class="url fn" href="https://open-lambda.org/author/open-lambda.html">open-lambda</a>
</address>
<p>In <a href="https://open-lambda.org/category/misc.html">misc</a>.</p>

</footer><!-- /.post-info --><h1>OpenLambda</h1>
<p>OpenLambda is an Apache-licensed serverless computing project, written
in Go and based on Linux containers. The primary goal of OpenLambda
is to enable exploration of new approaches to serverless computing. Our
research agenda is described in more detail in a <a href="https://www.usenix.org/system/files/conference/hotcloud16/hotcloud16_hendrickson.pdf">HotCloud '16
paper</a>.</p>
<h2>Getting Started</h2>
<p>OpenLambda relies heavily on operations that require root
privilege. To simplify this, we suggest that you run all commands as
the root user. OpenLambda is only actively tested on Ubuntu 16.04 LTS.</p>
<h3>Build and Test</h3>
<p>OL is changing rapidly. We recommend syncing to a commit that passed our nightly tests: https://s3.us-east-2.amazonaws.com/open-lambda-public/tests.html.</p>
<p>Our tests run on a VM built with this init script:
https://github.com/open-lambda/testing/blob/master/dev-build/bootstrap2.sh.
Thus, you can consider that file testable documentation of the
dependencies.</p>
<p>You can build the <code>ol</code> and other resources with just <code>make</code>. Then make sure it works with some simple tests:</p>
<div class="highlight"><pre><span></span><code>make test-all
</code></pre></div>

<h3>Getting Started</h3>
<p>You can create a new OL environment with the following comment:</p>
<div class="highlight"><pre><span></span><code>./ol new
</code></pre></div>

<p>This creates a directory named <code>default</code> with various OL resources.
You can create an OL environment at another location by passing a
<code>-path=DIRNAME</code> to the <code>new</code> command.</p>
<p>Default config settings were saved to <code>./default/config.json</code>. Modify
them if you wish, then start an OL worker (if you used <code>-path</code> above,
use it again with the <code>worker</code> command):</p>
<div class="highlight"><pre><span></span><code>./ol worker
</code></pre></div>

<p>In another terminal, make sure the worker is running with <code>./ol status</code>.</p>
<p>Now save the following to <code>./default/registry/echo.py</code>:</p>
<div class="highlight"><pre><span></span><code><span class="k">def</span> <span class="nf">f</span><span class="p">(</span><span class="n">event</span><span class="p">):</span>
<span class="k">return</span> <span class="n">event</span>
</code></pre></div>

<p>Now invoke your lambda (the result should be the same as the POST body):</p>
<div class="highlight"><pre><span></span><code>curl -X POST localhost:5000/run/echo -d &#39;{&quot;hello&quot;: &quot;world&quot;}&#39;
</code></pre></div>

<p>When you're done, just kill the worker with <code>ctrl-C</code>. If you want to
run the worker in detached mode (i.e., in the background), just start
it again with the <code>-d</code> flag:</p>
<div class="highlight"><pre><span></span><code>./ol worker -d
</code></pre></div>

<p>You can shutdown a detached worker like this:</p>
<div class="highlight"><pre><span></span><code>./ol kill
</code></pre></div>

<h2>License</h2>
<p>This project is licensed under the Apache License - see the <a href="LICENSE.md">LICENSE.md</a> file for details.</p> </article>
</aside><!-- /#featured -->
<section id="extras" class="body">
<div class="blogroll">
<h2>links</h2>
<ul>
<li><a href="https://apache.org">Apache</a></li>
<li><a href="https://github.com/open-lambda/open-lambda">Git</a></li>
</ul>
</div><!-- /.blogroll -->
<div class="social">
<h2>social</h2>
<ul>
<li><a href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>

</ul>
</div><!-- /.social -->
</section><!-- /#extras -->

<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>.
</address><!-- /#about -->

<p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->

</body>
</html>
52 changes: 52 additions & 0 deletions authors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="Pelican" />
<title>OpenLambda - Authors</title>
<link rel="stylesheet" href="https://open-lambda.org/theme/css/main.css" />
<link href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="OpenLambda Atom Feed" />
</head>

<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="https://open-lambda.org/">OpenLambda</a></h1>
<nav><ul>
<li><a href="https://open-lambda.org/category/misc.html">misc</a></li>
</ul></nav>
</header><!-- /#banner -->

<section id="content" class="body">
<h1>Authors on OpenLambda</h1>
<ul>
<li><a href="https://open-lambda.org/author/open-lambda.html">open-lambda</a> (1)</li>
</ul>
</section>

<section id="extras" class="body">
<div class="blogroll">
<h2>links</h2>
<ul>
<li><a href="https://apache.org">Apache</a></li>
<li><a href="https://github.com/open-lambda/open-lambda">Git</a></li>
</ul>
</div><!-- /.blogroll -->
<div class="social">
<h2>social</h2>
<ul>
<li><a href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>

</ul>
</div><!-- /.social -->
</section><!-- /#extras -->

<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>.
</address><!-- /#about -->

<p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->

</body>
</html>
48 changes: 48 additions & 0 deletions categories.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="Pelican" />
<title>OpenLambda - Categories</title>
<link rel="stylesheet" href="https://open-lambda.org/theme/css/main.css" />
<link href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="OpenLambda Atom Feed" />
</head>

<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="https://open-lambda.org/">OpenLambda</a></h1>
<nav><ul>
<li><a href="https://open-lambda.org/category/misc.html">misc</a></li>
</ul></nav>
</header><!-- /#banner -->
<h1>Categories on OpenLambda</h1>
<ul>
<li><a href="https://open-lambda.org/category/misc.html">misc</a> (1)</li>
</ul>
<section id="extras" class="body">
<div class="blogroll">
<h2>links</h2>
<ul>
<li><a href="https://apache.org">Apache</a></li>
<li><a href="https://github.com/open-lambda/open-lambda">Git</a></li>
</ul>
</div><!-- /.blogroll -->
<div class="social">
<h2>social</h2>
<ul>
<li><a href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>

</ul>
</div><!-- /.social -->
</section><!-- /#extras -->

<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>.
</address><!-- /#about -->

<p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->

</body>
</html>
115 changes: 115 additions & 0 deletions category/misc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="generator" content="Pelican" />
<title>OpenLambda - misc</title>
<link rel="stylesheet" href="https://open-lambda.org/theme/css/main.css" />
<link href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="OpenLambda Atom Feed" />
</head>

<body id="index" class="home">
<header id="banner" class="body">
<h1><a href="https://open-lambda.org/">OpenLambda</a></h1>
<nav><ul>
<li class="active"><a href="https://open-lambda.org/category/misc.html">misc</a></li>
</ul></nav>
</header><!-- /#banner -->

<aside id="featured" class="body">
<article>
<h1 class="entry-title"><a href="https://open-lambda.org/openlambda.html">OpenLambda</a></h1>
<footer class="post-info">
<abbr class="published" title="2021-05-12T11:11:00+12:00">
Published: Wed 12 May 2021
</abbr>

<address class="vcard author">
By <a class="url fn" href="https://open-lambda.org/author/open-lambda.html">open-lambda</a>
</address>
<p>In <a href="https://open-lambda.org/category/misc.html">misc</a>.</p>

</footer><!-- /.post-info --><h1>OpenLambda</h1>
<p>OpenLambda is an Apache-licensed serverless computing project, written
in Go and based on Linux containers. The primary goal of OpenLambda
is to enable exploration of new approaches to serverless computing. Our
research agenda is described in more detail in a <a href="https://www.usenix.org/system/files/conference/hotcloud16/hotcloud16_hendrickson.pdf">HotCloud '16
paper</a>.</p>
<h2>Getting Started</h2>
<p>OpenLambda relies heavily on operations that require root
privilege. To simplify this, we suggest that you run all commands as
the root user. OpenLambda is only actively tested on Ubuntu 16.04 LTS.</p>
<h3>Build and Test</h3>
<p>OL is changing rapidly. We recommend syncing to a commit that passed our nightly tests: https://s3.us-east-2.amazonaws.com/open-lambda-public/tests.html.</p>
<p>Our tests run on a VM built with this init script:
https://github.com/open-lambda/testing/blob/master/dev-build/bootstrap2.sh.
Thus, you can consider that file testable documentation of the
dependencies.</p>
<p>You can build the <code>ol</code> and other resources with just <code>make</code>. Then make sure it works with some simple tests:</p>
<div class="highlight"><pre><span></span><code>make test-all
</code></pre></div>

<h3>Getting Started</h3>
<p>You can create a new OL environment with the following comment:</p>
<div class="highlight"><pre><span></span><code>./ol new
</code></pre></div>

<p>This creates a directory named <code>default</code> with various OL resources.
You can create an OL environment at another location by passing a
<code>-path=DIRNAME</code> to the <code>new</code> command.</p>
<p>Default config settings were saved to <code>./default/config.json</code>. Modify
them if you wish, then start an OL worker (if you used <code>-path</code> above,
use it again with the <code>worker</code> command):</p>
<div class="highlight"><pre><span></span><code>./ol worker
</code></pre></div>

<p>In another terminal, make sure the worker is running with <code>./ol status</code>.</p>
<p>Now save the following to <code>./default/registry/echo.py</code>:</p>
<div class="highlight"><pre><span></span><code><span class="k">def</span> <span class="nf">f</span><span class="p">(</span><span class="n">event</span><span class="p">):</span>
<span class="k">return</span> <span class="n">event</span>
</code></pre></div>

<p>Now invoke your lambda (the result should be the same as the POST body):</p>
<div class="highlight"><pre><span></span><code>curl -X POST localhost:5000/run/echo -d &#39;{&quot;hello&quot;: &quot;world&quot;}&#39;
</code></pre></div>

<p>When you're done, just kill the worker with <code>ctrl-C</code>. If you want to
run the worker in detached mode (i.e., in the background), just start
it again with the <code>-d</code> flag:</p>
<div class="highlight"><pre><span></span><code>./ol worker -d
</code></pre></div>

<p>You can shutdown a detached worker like this:</p>
<div class="highlight"><pre><span></span><code>./ol kill
</code></pre></div>

<h2>License</h2>
<p>This project is licensed under the Apache License - see the <a href="LICENSE.md">LICENSE.md</a> file for details.</p> </article>
</aside><!-- /#featured -->
<section id="extras" class="body">
<div class="blogroll">
<h2>links</h2>
<ul>
<li><a href="https://apache.org">Apache</a></li>
<li><a href="https://github.com/open-lambda/open-lambda">Git</a></li>
</ul>
</div><!-- /.blogroll -->
<div class="social">
<h2>social</h2>
<ul>
<li><a href="https://open-lambda.org/feeds/all.atom.xml" type="application/atom+xml" rel="alternate">atom feed</a></li>

</ul>
</div><!-- /.social -->
</section><!-- /#extras -->

<footer id="contentinfo" class="body">
<address id="about" class="vcard body">
Proudly powered by <a href="https://getpelican.com/">Pelican</a>, which takes great advantage of <a href="https://www.python.org/">Python</a>.
</address><!-- /#about -->

<p>The theme is by <a href="https://www.smashingmagazine.com/2009/08/designing-a-html-5-layout-from-scratch/">Smashing Magazine</a>, thanks!</p>
</footer><!-- /#contentinfo -->

</body>
</html>
Loading