Skip to content

Commit

Permalink
Built site for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
Quarto GHA Workflow Runner committed Nov 4, 2024
1 parent eb0d03e commit 964b29e
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .nojekyll
Original file line number Diff line number Diff line change
@@ -1 +1 @@
15460963
47c7eaf7
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ <h5 class="quarto-listing-category-title">Categories</h5><div class="quarto-list

<div class="quarto-listing quarto-listing-container-default" id="listing-listing">
<div class="list quarto-listing-default">
<div class="quarto-post image-right" data-index="0" data-categories="bml4LGNvbnRhaW5lcixzZXR1cA==" data-listing-date-sort="1730551140000" data-listing-file-modified-sort="1730716000148" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="7" data-listing-word-count-sort="1296">
<div class="quarto-post image-right" data-index="0" data-categories="bml4LGNvbnRhaW5lcixzZXR1cA==" data-listing-date-sort="1730551140000" data-listing-file-modified-sort="1730717664478" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="7" data-listing-word-count-sort="1296">
<div class="thumbnail">
<p><a href="./posts/unreal-engine-nix.html" class="no-external"></a></p><a href="./posts/unreal-engine-nix.html" class="no-external">
<div class="listing-item-img-placeholder card-img-top" >&nbsp;</div>
Expand Down Expand Up @@ -258,7 +258,7 @@ <h3 class="no-anchor listing-title">
</a>
</div>
</div>
<div class="quarto-post image-right" data-index="1" data-categories="bmV3cw==" data-listing-date-sort="1730545200000" data-listing-file-modified-sort="1730716000148" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="32">
<div class="quarto-post image-right" data-index="1" data-categories="bmV3cw==" data-listing-date-sort="1730545200000" data-listing-file-modified-sort="1730717664478" data-listing-date-modified-sort="NaN" data-listing-reading-time-sort="1" data-listing-word-count-sort="32">
<div class="thumbnail">
<p><a href="./posts/welcome/index.html" class="no-external"></a></p><a href="./posts/welcome/index.html" class="no-external">
<p class="card-img-top"><img src="posts/welcome/thumbnail.jpg" class="thumbnail-image card-img"/></p>
Expand Down
2 changes: 1 addition & 1 deletion posts/unreal-engine-nix.html
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ <h2 class="anchored" data-anchor-id="lxd">LXD</h2>
<h2 class="anchored" data-anchor-id="docker">Docker</h2>
<p>Luckly it seems that EpicGames provide a docker image for their releases of Unreal as well.</p>
<p>First of all, become a member of the EpicGames github group in order to access repositories and registry. Follow <a href="https://www.unrealengine.com/en-US/ue-on-github">Getting started with Unreal Engine source code access</a>.</p>
<p>In order to access them you need to generate a personal autorisation token: <code>Profile &gt; Settings &gt; Developer settings &gt; Personal access token &gt; Tokens (classic)</code>. Enable <code>read: registry</code> for this token. Then login into the <code>ghcr</code> with docker:</p>
<p>In order to access them you need to generate a personal autorisation token: <code>Profile &gt; Settings &gt; Developer settings &gt; Personal access token &gt; Tokens (classic)</code>. Enable <code>read: packages</code> for this token. Then login into the <code>ghcr</code> with docker:</p>
<div class="sourceCode" id="cb4"><pre class="sourceCode sh code-with-copy"><code class="sourceCode bash"><span id="cb4-1"><a href="#cb4-1" aria-hidden="true" tabindex="-1"></a><span class="bu">export</span> <span class="va">GH_PAT</span><span class="op">=&lt;</span>copy_token_here<span class="op">&gt;</span></span>
<span id="cb4-2"><a href="#cb4-2" aria-hidden="true" tabindex="-1"></a><span class="bu">echo</span> <span class="va">$GH_PAT</span> <span class="kw">|</span> <span class="ex">docker</span> login ghcr.io <span class="at">-u</span> <span class="op">&lt;</span>username<span class="op">&gt;</span> --password-stdin</span></code><button title="Copy to Clipboard" class="code-copy-button"><i class="bi"></i></button></pre></div>
<p>Then pull the image of interest, i.e.</p>
Expand Down
2 changes: 1 addition & 1 deletion search.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"href": "posts/unreal-engine-nix.html#docker",
"title": "Unreal Engine on Nix (Linux)",
"section": "Docker",
"text": "Docker\nLuckly it seems that EpicGames provide a docker image for their releases of Unreal as well.\nFirst of all, become a member of the EpicGames github group in order to access repositories and registry. Follow Getting started with Unreal Engine source code access.\nIn order to access them you need to generate a personal autorisation token: Profile &gt; Settings &gt; Developer settings &gt; Personal access token &gt; Tokens (classic). Enable read: registry for this token. Then login into the ghcr with docker:\nexport GH_PAT=&lt;copy_token_here&gt;\necho $GH_PAT | docker login ghcr.io -u &lt;username&gt; --password-stdin\nThen pull the image of interest, i.e.\ndocker pull ghcr.io/epicgames/unreal-engine:dev-5.4.4\nNow in order to run your container with Xserver support and GPU passthrough, run:\ndocker run --rm -ti --device nvidia.com/gpu=all -v/tmp/.X11-unix:/tmp/.X11-unix:rw -e DISPLAY --network host ghcr.io/epicgames/unreal-engine:dev-5.4.3 bash\n\nGPU, Xserver and network to Docker\nThere are a few details to iron out in order to make the above command work. For NixOS the followings:\n\nEnsure docker is enable and has support for nvidia:\n\n virtualisation.docker = {\n enable = true;\n };\n hardware.nvidia-container-toolkit.enable = true;\n\n users.users.cristi.extraGroups = [\"docker\"];\n\n environment.systemPackages = with pkgs; [\n docker\n ];\n\nEnsure xserver is enabled and can allow docker\n\nservices.xserver = {\n enable = true;\n displayManager.lightdm.enable = true;\n};\nenvironment.systemPackages = with pkgs; [ \n xorg.xhost # Necessary for allowing docker X11 access \n];\n\nxhost add docker to local drivers with xhost +local:docker or configure from NixOS (warn: I haven’t tried this yet):\n\nsystemd.services.xhost-docker = {\n description = \"Allow Docker containers to access X11\";\n after = [ \"display-manager.service\" ];\n script = ''\n ${pkgs.xorg.xhost}/bin/xhost +local:docker\n '';\n serviceConfig = {\n Type = \"oneshot\";\n User = \"root\";\n };\n wantedBy = [ \"multi-user.target\" ];\n};"
"text": "Docker\nLuckly it seems that EpicGames provide a docker image for their releases of Unreal as well.\nFirst of all, become a member of the EpicGames github group in order to access repositories and registry. Follow Getting started with Unreal Engine source code access.\nIn order to access them you need to generate a personal autorisation token: Profile &gt; Settings &gt; Developer settings &gt; Personal access token &gt; Tokens (classic). Enable read: packages for this token. Then login into the ghcr with docker:\nexport GH_PAT=&lt;copy_token_here&gt;\necho $GH_PAT | docker login ghcr.io -u &lt;username&gt; --password-stdin\nThen pull the image of interest, i.e.\ndocker pull ghcr.io/epicgames/unreal-engine:dev-5.4.4\nNow in order to run your container with Xserver support and GPU passthrough, run:\ndocker run --rm -ti --device nvidia.com/gpu=all -v/tmp/.X11-unix:/tmp/.X11-unix:rw -e DISPLAY --network host ghcr.io/epicgames/unreal-engine:dev-5.4.3 bash\n\nGPU, Xserver and network to Docker\nThere are a few details to iron out in order to make the above command work. For NixOS the followings:\n\nEnsure docker is enable and has support for nvidia:\n\n virtualisation.docker = {\n enable = true;\n };\n hardware.nvidia-container-toolkit.enable = true;\n\n users.users.cristi.extraGroups = [\"docker\"];\n\n environment.systemPackages = with pkgs; [\n docker\n ];\n\nEnsure xserver is enabled and can allow docker\n\nservices.xserver = {\n enable = true;\n displayManager.lightdm.enable = true;\n};\nenvironment.systemPackages = with pkgs; [ \n xorg.xhost # Necessary for allowing docker X11 access \n];\n\nxhost add docker to local drivers with xhost +local:docker or configure from NixOS (warn: I haven’t tried this yet):\n\nsystemd.services.xhost-docker = {\n description = \"Allow Docker containers to access X11\";\n after = [ \"display-manager.service\" ];\n script = ''\n ${pkgs.xorg.xhost}/bin/xhost +local:docker\n '';\n serviceConfig = {\n Type = \"oneshot\";\n User = \"root\";\n };\n wantedBy = [ \"multi-user.target\" ];\n};"
},
{
"objectID": "posts/unreal-engine-nix.html#more-info",
Expand Down
8 changes: 4 additions & 4 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,18 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>https://crisbour.github.io/blog/posts/welcome/index.html</loc>
<lastmod>2024-11-04T10:26:40.148Z</lastmod>
<lastmod>2024-11-04T10:54:24.478Z</lastmod>
</url>
<url>
<loc>https://crisbour.github.io/blog/index.html</loc>
<lastmod>2024-11-04T10:26:40.148Z</lastmod>
<lastmod>2024-11-04T10:54:24.478Z</lastmod>
</url>
<url>
<loc>https://crisbour.github.io/blog/about.html</loc>
<lastmod>2024-11-04T10:26:40.148Z</lastmod>
<lastmod>2024-11-04T10:54:24.478Z</lastmod>
</url>
<url>
<loc>https://crisbour.github.io/blog/posts/unreal-engine-nix.html</loc>
<lastmod>2024-11-04T10:26:40.148Z</lastmod>
<lastmod>2024-11-04T10:54:24.478Z</lastmod>
</url>
</urlset>

0 comments on commit 964b29e

Please sign in to comment.