Skip to content

Commit

Permalink
Update gh-pages
Browse files Browse the repository at this point in the history
Store path: /nix/store/x915pbz2g30jd56w12qgd58lrwbka9m3-cardano-nix-docs
  • Loading branch information
hercules-ci[bot] committed May 28, 2024
1 parent d1470a7 commit bccf026
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions getting-started/deploy/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1057,6 +1057,7 @@ <h1>Deploy</h1>

<p>In order to access all the options available in <code>cardano.nix</code>, the <a href="https://zero-to-nix.com/concepts/nixos#modules">NixOS module</a> provided by this project has to be included in a <a href="https://zero-to-nix.com/concepts/nixos#configuration">NixOS configuration</a> and deployed to a (local or remote or virtual) machine.</p>
<h3 id="start-new-project-with-flake-template">Start new project with flake template</h3>
<p>Before starting, follow the <a href="../installation/">installation instructions</a>.</p>
<p>An easy way to get started is to use the <a href="https://zero-to-nix.com/concepts/flakes#templates">flake template</a> provided by this project. Here's how to start a new project using the template:</p>
<div class="language-text highlight"><table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><span></span><span class="normal"><a href="#__codelineno-0-1">1</a></span>
<span class="normal"><a href="#__codelineno-0-2">2</a></span>
Expand All @@ -1071,6 +1072,8 @@ <h3 id="start-new-project-with-flake-template">Start new project with flake temp
<h3 id="run-a-virtual-machine">Run a virtual machine</h3>
<p>The default template provides a virtual machine configuration starting all the services in the preview testnet. Here's how to run it:</p>
<p><code>nix run .#vm</code></p>
<p>A virtual machine is started, with <code>cardano-cli</code> available to query the node:</p>
<p><code>cardano-cli query tip --testnet-magic 2</code></p>
<p>This machine is set up just like the one in <a href="../vm/">Run a VM</a>, but can be customized.</p>
<h3 id="look-around">Look around</h3>
<h4 id="flakenix"><code>flake.nix</code></h4>
Expand Down
4 changes: 3 additions & 1 deletion render.nix
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ in {
'';
};

packages."${cfg.packageName}-serve" = config.packages.${cfg.packageName}.serve;

devshells.default = {
commands = let
category = "documentation";
Expand All @@ -245,7 +247,7 @@ in {
inherit category;
name = "docs-serve";
help = "serve documentation web page";
command = "nix run .#${cfg.packageName}.serve";
command = "nix run .#${cfg.packageName}-serve";
}
{
inherit category;
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

0 comments on commit bccf026

Please sign in to comment.