<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Tatiana Borda</title>
    <description>The latest articles on DEV Community by Tatiana Borda (@tatianaborda).</description>
    <link>https://dev.to/tatianaborda</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F391092%2F4537caaf-aed6-409c-b71a-e71d92a86dd5.png</url>
      <title>DEV Community: Tatiana Borda</title>
      <link>https://dev.to/tatianaborda</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/tatianaborda"/>
    <language>en</language>
    <item>
      <title>Radicle on Windows</title>
      <dc:creator>Tatiana Borda</dc:creator>
      <pubDate>Tue, 06 Sep 2022 23:05:26 +0000</pubDate>
      <link>https://dev.to/tatianaborda/radicle-on-windows-108a</link>
      <guid>https://dev.to/tatianaborda/radicle-on-windows-108a</guid>
      <description>&lt;p&gt;Radicle, as they say in their website, enables developers to securely collaborate on software over a peer-to-peer network built on Git. It is a decentralized control version system, designed to be free for censorship.&lt;br&gt;
If you want to use Radicle but you’re a Windows user don’t panic! You can do it through WSL, the Windows Subsystem for Linux that lets developers run a GNU/Linux environment.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;1.Install LINUX on Windows:&lt;/strong&gt;&lt;br&gt;
 You must be running Windows 10 version 2004 and higher or Windows 11. You need to open your Powershell or CMD with administrator permissions and entering this command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;wsl --install&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then you have to restart your machine.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2.Install your Linux distribution of choice:&lt;/strong&gt;&lt;br&gt;
I HIGHLY recommend Ubuntu 22.04.1 LTS, you can download it here:&lt;br&gt;
&lt;a href="https://apps.microsoft.com/store/detail/ubuntu-22041-lts/9PN20MSR04DW?hl"&gt;&lt;/a&gt;&lt;br&gt;
Select “Get on the Microsoft Store”&lt;br&gt;
You will be redirect to the Microsoft Store, select “Get”.&lt;br&gt;
The first time you launch a newly installed Linux distribution, a console window will open and you'll be asked to wait for a minute or two for files to decompress and be stored on your PC. All future launches should take less than a second.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Set up the Linux distribution development environment:&lt;/strong&gt;&lt;br&gt;
At the same console set your User Name and your Password, these are specific to each separate Linux distribution that you install and have no bearing on your Windows user name. Please note that whilst entering the Password, nothing will appear on screen. This is called blind typing. You won't see what you are typing, this is completely normal.&lt;br&gt;
Once you create a User Name and Password, the account will be your default user.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Install Git and Config&lt;/strong&gt;&lt;br&gt;
You can check your git version with the following command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git --version&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Make sure you are using Git 2.34.0 or later. If you haven’t already downloaded Git you have to do it for Windows too!&lt;br&gt;
For the latest stable Git version in Ubuntu/Debian, enter the command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt-get install git&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;To set up your Git config file, open a command line for the distribution you're working in and set your name with this command (replacing "Your Name" with your preferred username):&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git config --global user.name "Your Name"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then set your email with this command (replacing "&lt;a href="mailto:youremail@domain.com"&gt;youremail@domain.com&lt;/a&gt;" with the email you prefer):&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git config --global user.email "youremail@domain.com"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5.Create ssh-keys:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;To generate your ssh keys, write this command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;ssh-keygen&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You will see the next output:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Generating public/private rsa key pair.
Enter file in which to save the key (/your_home/.ssh/id_rsa):
press ENTER to save the keys, then you will see:
Enter passphrase (empty for no passphrase):
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It is recommended to have a passphrase. If everything it’s fine you could see something like this on your console:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Your identification has been saved in /your_home/.ssh/id_rsa
Your public key has been saved in /your_home/.ssh/id_rsa.pub
The key fingerprint is:
SHA256:/hk7MJ5n5aiqdfTVUZr+2Qt+qCiS7BIm5Iv0dxrc3ks user@host
The key's randomart image is:
+---[RSA 3072]----+
|                .|
|               + |
|              +  |
| .           o . |
|o       S   . o  |
| + o. .oo. ..  .o|
|o = oooooEo+ ...o|
|.. o *o+=.*+o....|
|    =+=ooB=o.... |
+----[SHA256]-----+
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;6.Install Radicle CLI:&lt;/strong&gt;&lt;br&gt;
As you can read on Radicle GitHub we will follow the steps for ubuntu:&lt;a href="https://dev.tourl"&gt; https://github.com/radicle-dev/radicle-cli&lt;/a&gt;&lt;br&gt;
First, download the package signing key:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;curl -fsSL https://europe-west6-apt.pkg.dev/doc/repo-signing-key.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/radicle-archive-keyring.gpg &amp;gt; /dev/null&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then update your sources list with the radicle repository by creating a registry file:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;echo "deb [arch=amd64 signed-by=/usr/share/keyrings/radicle-archive-keyring.gpg] https://europe-west6-apt.pkg.dev/projects/radicle-services radicle-cli main" | sudo tee -a /etc/apt/sources.list.d/radicle-registry.list&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then update the package list and install radicle-cli:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;sudo apt update&lt;/code&gt;&lt;br&gt;
&lt;code&gt;sudo apt install radicle-cli&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You’ll have to create a username and a passphrase too.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;7.Add your radicle key to ssh-agent:&lt;/strong&gt;&lt;br&gt;
Before you start using Radicle I recommend adding your ssh-agent, with this you will avoid future problems. Run the following command:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;eval "$(ssh-agent)"&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Then you’ll can link your Radicle account by running:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;rad auth&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;It will require your passphrase and it will add your Radicle key to ssh-agent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;8.Create a new repo:&lt;/strong&gt;&lt;br&gt;
Follow the next commands to test Radicle:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;rad auth —-init&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git init test-project&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;cd test-project&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;echo "test project" &amp;gt; README&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;git add README&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;git commit -a -m 'initial commit'&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;rad init .&lt;/code&gt; &lt;/p&gt;

&lt;p&gt;&lt;code&gt;rad push&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You can choose any node to host your code.&lt;br&gt;
And if everything’s fine, now your code is hosted on Radicle! 🎉 You should see where you can see your hosted code.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
