Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
verovaleros committed Dec 2, 2021
1 parent e393bc7 commit 16f51ac
Show file tree
Hide file tree
Showing 11 changed files with 287 additions and 1 deletion.
Binary file modified docs/build/.doctrees/environment.pickle
Binary file not shown.
Binary file modified docs/build/.doctrees/index.doctree
Binary file not shown.
Binary file added docs/build/.doctrees/nixarion.doctree
Binary file not shown.
1 change: 1 addition & 0 deletions docs/build/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ Contents
configuration
telegrambot
deployment
nixarion
31 changes: 31 additions & 0 deletions docs/build/_sources/nixarion.rst.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
AI VPN Using Nix Arion
======================

What is Nix?
------------

Nix is a packet manager that uses a model that allows reproducibility of packages and builds using declarative definitions.
Learn more about Nix and NixOS at `NixOS Quick Start <https://nixos.org/manual/nix/stable/quick-start.html>`.

What is Arion?
--------------

Arion is a Nix tool designed to help launch modular docker based applications on Nix. Arion was designed with the same Nix principles in mind and follows a declarative approach. Arion focuses on providing an easier deployment and better performance. Learn more about Arion at `Arion Documentation <https://docs.hercules-ci.com/arion/>`.

How can the AI VPN deployed using Nix Arion?
--------------------------------------------

Once Nix package manager and Arion are already installed, you can start the service with a simple command::

$ cd AIVPN/
$ arion up -d

To stop the service run::

$ arion down

If you need to change the configuration of the services, edit the file::

* arion-compose.nix

Note: Arion has some limitations and may not support all the configuration parameters of docker-compose. This is why at the moment the Pi-Hole module is not supported through Arion.
1 change: 1 addition & 0 deletions docs/build/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
<li class="toctree-l1"><a class="reference internal" href="configuration.html">Configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="telegrambot.html">Creating a Telegram Bot for the AI VPN</a></li>
<li class="toctree-l1"><a class="reference internal" href="deployment.html">Deployment</a></li>
<li class="toctree-l1"><a class="reference internal" href="nixarion.html">AI VPN Using Nix Arion</a></li>
</ul>


Expand Down
7 changes: 7 additions & 0 deletions docs/build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@
<li class="toctree-l1"><a class="reference internal" href="configuration.html">Configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="telegrambot.html">Creating a Telegram Bot for the AI VPN</a></li>
<li class="toctree-l1"><a class="reference internal" href="deployment.html">Deployment</a></li>
<li class="toctree-l1"><a class="reference internal" href="nixarion.html">AI VPN Using Nix Arion</a></li>
</ul>


Expand Down Expand Up @@ -197,6 +198,12 @@ <h1>Contents<a class="headerlink" href="#contents" title="Permalink to this head
<li class="toctree-l2"><a class="reference internal" href="deployment.html#check-the-ai-vpn-service-health">Check the AI VPN Service Health</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="nixarion.html">AI VPN Using Nix Arion</a><ul>
<li class="toctree-l2"><a class="reference internal" href="nixarion.html#what-is-nix">What is Nix?</a></li>
<li class="toctree-l2"><a class="reference internal" href="nixarion.html#what-is-arion">What is Arion?</a></li>
<li class="toctree-l2"><a class="reference internal" href="nixarion.html#how-can-the-ai-vpn-deployed-using-nix-arion">How can the AI VPN deployed using Nix Arion?</a></li>
</ul>
</li>
</ul>
</div>
</div>
Expand Down
245 changes: 245 additions & 0 deletions docs/build/nixarion.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,245 @@


<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />

<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<title>AI VPN Using Nix Arion &mdash; AI VPN 2021 documentation</title>



<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />










<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->


<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>

<script type="text/javascript" src="_static/js/theme.js"></script>


<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="Deployment" href="deployment.html" />
</head>

<body class="wy-body-for-nav">


<div class="wy-grid-for-nav">

<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >



<a href="index.html" class="icon icon-home"> AI VPN




<img src="_static/aivpn.png" class="logo" alt="Logo"/>

</a>







<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>


</div>


<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">






<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="motivation.html">Motivation</a></li>
<li class="toctree-l1"><a class="reference internal" href="installation.html">Installation</a></li>
<li class="toctree-l1"><a class="reference internal" href="configuration.html">Configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="telegrambot.html">Creating a Telegram Bot for the AI VPN</a></li>
<li class="toctree-l1"><a class="reference internal" href="deployment.html">Deployment</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">AI VPN Using Nix Arion</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#what-is-nix">What is Nix?</a></li>
<li class="toctree-l2"><a class="reference internal" href="#what-is-arion">What is Arion?</a></li>
<li class="toctree-l2"><a class="reference internal" href="#how-can-the-ai-vpn-deployed-using-nix-arion">How can the AI VPN deployed using Nix Arion?</a></li>
</ul>
</li>
</ul>



</div>

</div>
</nav>

<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">


<nav class="wy-nav-top" aria-label="top navigation">

<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">AI VPN</a>

</nav>


<div class="wy-nav-content">

<div class="rst-content">



















<div role="navigation" aria-label="breadcrumbs navigation">

<ul class="wy-breadcrumbs">

<li><a href="index.html" class="icon icon-home"></a> &raquo;</li>

<li>AI VPN Using Nix Arion</li>


<li class="wy-breadcrumbs-aside">


<a href="_sources/nixarion.rst.txt" rel="nofollow"> View page source</a>


</li>

</ul>


<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">

<div class="section" id="ai-vpn-using-nix-arion">
<h1>AI VPN Using Nix Arion<a class="headerlink" href="#ai-vpn-using-nix-arion" title="Permalink to this headline"></a></h1>
<div class="section" id="what-is-nix">
<h2>What is Nix?<a class="headerlink" href="#what-is-nix" title="Permalink to this headline"></a></h2>
<p>Nix is a packet manager that uses a model that allows reproducibility of packages and builds using declarative definitions.
Learn more about Nix and NixOS at <cite>NixOS Quick Start &lt;https://nixos.org/manual/nix/stable/quick-start.html&gt;</cite>.</p>
</div>
<div class="section" id="what-is-arion">
<h2>What is Arion?<a class="headerlink" href="#what-is-arion" title="Permalink to this headline"></a></h2>
<p>Arion is a Nix tool designed to help launch modular docker based applications on Nix. Arion was designed with the same Nix principles in mind and follows a declarative approach. Arion focuses on providing an easier deployment and better performance. Learn more about Arion at <cite>Arion Documentation &lt;https://docs.hercules-ci.com/arion/&gt;</cite>.</p>
</div>
<div class="section" id="how-can-the-ai-vpn-deployed-using-nix-arion">
<h2>How can the AI VPN deployed using Nix Arion?<a class="headerlink" href="#how-can-the-ai-vpn-deployed-using-nix-arion" title="Permalink to this headline"></a></h2>
<p>Once Nix package manager and Arion are already installed, you can start the service with a simple command:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ cd AIVPN/
$ arion up -d
</pre></div>
</div>
<p>To stop the service run:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ arion down
</pre></div>
</div>
<p>If you need to change the configuration of the services, edit the file:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="o">*</span> <span class="n">arion</span><span class="o">-</span><span class="n">compose</span><span class="o">.</span><span class="n">nix</span>
</pre></div>
</div>
<p>Note: Arion has some limitations and may not support all the configuration parameters of docker-compose. This is why at the moment the Pi-Hole module is not supported through Arion.</p>
</div>
</div>


</div>

</div>
<footer>
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
<a href="deployment.html" class="btn btn-neutral float-left" title="Deployment" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
</div>

<hr/>

<div role="contentinfo">
<p>
&#169; Copyright 2020, Civilsphere Project.

</p>
</div>



Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a

<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>

provided by <a href="https://readthedocs.org">Read the Docs</a>.

</footer>
</div>
</div>

</section>

</div>


<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>






</body>
</html>
Binary file modified docs/build/objects.inv
Binary file not shown.
1 change: 1 addition & 0 deletions docs/build/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
<li class="toctree-l1"><a class="reference internal" href="configuration.html">Configuration</a></li>
<li class="toctree-l1"><a class="reference internal" href="telegrambot.html">Creating a Telegram Bot for the AI VPN</a></li>
<li class="toctree-l1"><a class="reference internal" href="deployment.html">Deployment</a></li>
<li class="toctree-l1"><a class="reference internal" href="nixarion.html">AI VPN Using Nix Arion</a></li>
</ul>


Expand Down
Loading

0 comments on commit 16f51ac

Please sign in to comment.