linux installation done

This commit is contained in:
KZacharski 2023-08-26 23:57:01 +02:00
parent 51915c94d1
commit d23284e5ba
2 changed files with 12 additions and 5 deletions

View File

@ -22,14 +22,20 @@
<h3 class="t2">Last edited: 26 August 2023<br><a href="https://github.com/KZacharski/diji/blob/github-files/docs/docs/installation.html" class="linkeffect ghlink">Open on GitHub</a></h3> <h3 class="t2">Last edited: 26 August 2023<br><a href="https://github.com/KZacharski/diji/blob/github-files/docs/docs/installation.html" class="linkeffect ghlink">Open on GitHub</a></h3>
<p>After downloading diji you have 2 choices. You can either put it in a folder where you're gonna create all of your projects (for example Documents) or add it to $PATH and use it anywhere.</p> <p>After downloading diji you have 2 choices. You can either put it in a folder where you're gonna create all of your projects (for example Documents) or add it to $PATH and use it anywhere.</p>
<h3>Way 1 (Storing in the projects folder)</h3> <h3>Way 1 (Storing in the projects folder)</h3>
<p>Extract the zip you downloaded earlier and open the folder that was extracted from it. Now select both the diji binary and the diji-config folder and copy them to a folder you want to use for creating your projects. Now you can run diji by opening the terminal (or PowerShell on windows if you don't have Windows Terminal installed) in that folder and running it with a command ./diji</p> <p>Extract the zip you downloaded earlier and open the folder that was extracted from it. Now select both the diji binary and the diji-config folder and copy them to a folder you want to use for creating your projects. Now you can run diji by opening the terminal (or PowerShell on windows if you don't have Windows Terminal installed) in that folder and running it with a command <code class="language-bash">./diji</code></p>
<h3 class="sbtt">Way 2 (Adding to $PATH)</h3> <h3 class="sbtt">Way 2 (Adding to $PATH)</h3>
<h3 class="sbt">Linux:</h3> <h3 class="sbt">Linux:</h3>
(It might not work if you use a different shell instead of bash. In that case you can also try the macOS instructions.) (It might not work if you use a different shell instead of bash. In that case you can also try the macOS instructions. If that doesn't work either just look up online how to add files to $PATH on your shell.)
<p>Extract the downloaded zip and open the terminal.</p> <p>Extract the downloaded zip and open the terminal.</p>
<p>Now run this command:</p> <p>Now run this command:</p>
<pre><code class="language-bash">cp -r ./Downloads/diji .local</code></pre> <pre><code class="language-bash">cp -r ./Downloads/diji .local</code></pre>
<p>Open .profile in your favorite editor (in my case neovim):</p>
<pre><code class="language-bash">nvim .profile</code></pre>
<p>Go to the end of the file and paste this line (replace [user] with your username):</p>
<pre><code class="language-bash">export PATH=$PATH:/home/[user]/.local/diji</code></pre>
<p>Of course save the file afterwards</p>
<p>Now you can either reboot/log out and back in to save the changes systemwide or if you're busy, run <code class="language-bash" style="white-space: nowrap;">source ~/.profile</code> to apply them in your current terminal session.</p>
<p>After doing this, running <code class="language-bash">diji</code> in your terminal should make diji start.</p>
<div class="container2"> <div class="container2">
<div class="prev ge"> <div class="prev ge">
<a href="./introduction.html" style="text-decoration: none; color: white; height: 100%; width: 100%;"> <a href="./introduction.html" style="text-decoration: none; color: white; height: 100%; width: 100%;">

View File

@ -373,12 +373,13 @@ flex-direction: column;
}*/ .iafc { }*/ .iafc {
padding-bottom: 30px; padding-bottom: 30px;
} .sbt { } .sbt {
font-size: medium; font-size: large;
margin-top: 0; margin-top: 0;
padding-top: 0; padding-top: 0;
} .sbtt {
margin-bottom: 5px; margin-bottom: 5px;
padding-bottom: 0; padding-bottom: 0;
} .sbtt {
} }
*, *,