<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Mayra Lucia Navarro on Medium]]></title>
        <description><![CDATA[Stories by Mayra Lucia Navarro on Medium]]></description>
        <link>https://medium.com/@luciagirasoles?source=rss-d16cfb02c364------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*s5POwfk-Sk7V3IY10K8Wng.jpeg</url>
            <title>Stories by Mayra Lucia Navarro on Medium</title>
            <link>https://medium.com/@luciagirasoles?source=rss-d16cfb02c364------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 13:35:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@luciagirasoles/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[WSL — Creating my development environment]]></title>
            <link>https://medium.com/@luciagirasoles/wsl-creating-my-development-environment-d3307330b6ec?source=rss-d16cfb02c364------2</link>
            <guid isPermaLink="false">https://medium.com/p/d3307330b6ec</guid>
            <category><![CDATA[ubuntu]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[rails]]></category>
            <category><![CDATA[wsl]]></category>
            <category><![CDATA[developer-tools]]></category>
            <dc:creator><![CDATA[Mayra Lucia Navarro]]></dc:creator>
            <pubDate>Mon, 19 Aug 2019 04:52:51 GMT</pubDate>
            <atom:updated>2019-08-19T05:48:24.457Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/836/1*hNLAdXdAvPD367PJIvPu_A.png" /></figure><h3>WSL — Creating my development environment</h3><p><strong>Last Update 8/18/19</strong></p><h3>Installing Rails, ZSH in WSL — Windows 10</h3><p>After I finished a boot-camp last week, I had to return the laptop with Ubuntu OS that they gave me…I don’t miss the 5 Kg of weight I carried on my back. I really miss my 4-years-old Windows 10 laptop so I decided to challenge myself by installing Linux and my developer tools on it.</p><p>There are the components I’m gonna use:</p><ul><li>Zsh</li><li>Git</li><li>Oh My ZSH!</li><li>NodeJS</li><li>Yarn</li><li>Ruby On Rails</li><li>PostgreSQL</li><li>React</li></ul><p>We just need to realize that all these commands are going to run in our <strong>Bash </strong>(Linux).</p><p>I had to make this installation twice to make it the most similar to my Linux configuration.</p><h4>Enabling WSL</h4><ol><li>According to this <a href="https://docs.microsoft.com/en-us/windows/wsl/about">link</a> (and multiple mistakes), the first thing that we need to do is enable Windows Developer mode, following the next route:</li></ol><p>Settings &gt; Update &amp; Security &gt; For Developers</p><p>Let’s accept the warning alert that appears.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1005/1*P6AAkh9185BUtnOtPN0bag.png" /><figcaption>Enable Developer Option in Windows 10 64-bits</figcaption></figure><p>Some tutorials say it takes time to update. It was the same in this installation.</p><p>2. It’s time to activate our WSL option. It was difficult to find the exact route based on some tutorial around the web, so I just type“Turn Windows features on or off” in the search bar in the upper left corner “<em>Finding a setting”. </em>Inside this windows, we have to activate<em> “Windows Subsystem for Linux” option.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GWJJvL4szcVYQKmlsk8tDQ.png" /></figure><h4>Installing Ubuntu</h4><p>As I explain before, I wanted this installation the most similar to my old heavy laptop with Ubuntu, so this was my first option.</p><ol><li>Let’s go to Windows Store, and let’s select Ubuntu:</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*41KT6Y6PEmZhEWeIqdlRjw.png" /><figcaption>Linux Distributions in Microsoft Store</figcaption></figure><p>Click on Get to install it in our device.</p><p>It’s time to run our Linux distro:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*sbcjEIC4_475nzpuVfwCqg.png" /></figure><p>To <a href="https://docs.microsoft.com/en-us/windows/wsl/initialize-distro">initialize our Linux distro</a>, we are gonna need to create our user and password:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jCvdFJSFzMKShabZ.png" /></figure><p>Keep in mind that username &amp; password are our superuser keys!!!</p><h4>Update our distro</h4><p>We need to run these commands:</p><pre>$ sudo apt-get update</pre><pre>$ sudo apt-get upgrade</pre><p>So, we finally have our Linux distro ready!</p><h3>Install Fest — Linux Side</h3><ol><li><strong>Install <em>curl</em></strong></li></ol><pre>sudo apt install curl</pre><p>2. <strong>Install <em>zsh</em></strong></p><pre>sudo apt install zsh</pre><p>3. <strong>Install <em>git &amp; yarn</em></strong></p><pre>sudo apt install git yarn</pre><p>4. <strong>Install <em>nodejs </em>v<em>10</em></strong></p><pre>$ curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -<br>$ sudo apt-get install -y nodejs</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/212/1*kotiPCxzuKgjBoBshzNPEA.png" /></figure><p>5. <strong>Install and Configure <em>Oh My ZSH</em></strong></p><ul><li>Installation</li></ul><pre>sh -c “$(curl -fsSL <a href="https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh">https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh</a>)&quot;</pre><ul><li>Make zsh our <strong>default Unix Shell</strong></li></ul><p>I didn’t want to write zsh every time I open a new terminal. I discovered something really interesting while I was reading this <a href="https://blog.joaograssi.com/windows-subsystem-for-linux-with-oh-my-zsh-conemu/">blog</a>.</p><p>To make default <strong>zsh</strong>, we need to modify our <em>.bashrc</em> file. I can offer you two options:</p><p>5.1. We can run:</p><pre>vim ~/.bashrc</pre><p>or</p><p>5.2 Maybe you are familiar with <em>nano </em>or <em>vim </em>commands in Linux, but if you don’t ,it was really helpful to discover that we can open the folder location of where we are just writing inside our distro :</p><pre>explorer.exe .</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/433/1*WNjQwl1B8DrES-DF6y7k9w.png" /></figure><p>And there, we’ll find our <em>.bashrc</em> file to edit in our Windows environment.</p><p>In both cases, we need to include these lines in this file, right after the first comments:</p><pre>if test -t 1; then<br>exec zsh<br>fi</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*i2cqBpxK6V7-j8X0qY0wFg.png" /></figure><p>After this, we need to <strong>restart our Ubuntu shell</strong>.</p><p>6. <strong>Install Ruby</strong></p><p>This step was made really easy thanks to this <a href="https://gorails.com/setup/windows/10">blog</a>. Let’s update some dependencies:</p><pre>sudo apt-get install git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev</pre><p>Here, we are gonna use <strong><em>rbenv </em></strong>for our rails installation ( I tried to use <em>brew</em> but it gave me a lot of problems ).</p><pre>git clone <a href="https://github.com/rbenv/rbenv.git">https://github.com/rbenv/rbenv.git</a> ~/.rbenv</pre><p>Here we have some commands to configure our bash (zsh):</p><pre>$ echo ‘export PATH=”$HOME/.rbenv/bin:$PATH”’ &gt;&gt; ~/.zshrc<br>$ echo ‘eval “$(rbenv init -)”’ &gt;&gt; ~/.zshrc<br>$ exec $SHELL</pre><p>To verify if our installation is OK, we can run this command:</p><pre>curl -fsSL <a href="https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor">https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor</a> | bash</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/996/1*d5PxH-BjwXLNEAbsZ0t3dQ.png" /></figure><p>We can download the version of “Ruby” that we want. Even, have multiple versions, It’s what I like about <strong>rbenv</strong>. We are gonna select ruby 2.6.3:</p><pre>$ rbenv install 2.6.3<br>$ rbenv global 2.6.3</pre><p>We can verify our installation running <em>ruby -v:</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/465/1*GyxupAo137M9ffp1QnRxAQ.png" /><figcaption>ruby -v</figcaption></figure><p>Our next step is to install <em>bundler:</em></p><pre>gem install bundler</pre><p>And <strong>FINALLY </strong>my favorite:</p><pre>gem install rails</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/386/1*rzbfc3Bdv9Jvk7VVlhtZ-Q.png" /><figcaption>rails -v</figcaption></figure><p>According to <a href="https://github.com/rbenv/rbenv#rbenv-rehash">rbenv</a> documentation, the following command is needed:</p><blockquote>run this command after you install a new version of Ruby, or install a gem that provides commands:</blockquote><pre>rbenv rehash</pre><p>7. Configure <strong>GIT</strong></p><pre>$ git config — global user.name “your username”<br>$ git config — global user.email “<a href="/service/mailto:luciagirasoles@gmail.com">y</a>our email”</pre><p>The command below is going to generate our keygen for github:</p><pre>$ ssh-keygen -t rsa -b 4096 -C “<a href="/service/mailto:luciagirasoles@gmail.com">y</a>our email”<br>$ cat ~/.ssh/id_rsa.pub</pre><p>we need to paste the code generated <a href="https://github.com/settings/keys">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/786/1*fvRI9X0wGw44AzZ8jquyRg.png" /></figure><p>Run this command to verify our connection is OK:</p><pre>ssh -T git@github.com</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/890/1*BTUdA5WgMjYcP9cIYWA6Tg.png" /></figure><h3>Install Fest — Windows Side</h3><ol><li>Let’s<strong> install VSCode</strong>. <a href="https://code.visualstudio.com/">Link</a></li><li>After installing, <strong>open your Terminal</strong>.</li></ol><p>Push CTRL + SHIFT + P and type “user” and select: Open User Settings</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/741/1*n6MvAE-aHNmSgA-DZFE8xg.png" /></figure><p>Here we have to open <em>settings.json</em> by click in the upper right corner</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/999/1*OJxrGmhh1GakaqMP7MqHWg.png" /></figure><p>Let’s make sure this line exists; if not, add it :</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/853/1*clG0SVfnaAE9dpyWeNQhsg.png" /></figure><p>Here are some suggested extensions to install in our VSCode:</p><ul><li>Prettier — Code formatter</li><li>Ruby</li><li>DotENV</li><li>Jest</li><li>Auto Close Tag</li><li>Import Cost</li><li>ESLint. (Optional: run npm install -g eslint )</li></ul><p>Reload VSCode: <strong>Ctrl+Shift+P </strong>and write Reload , select <strong>Reload Windows</strong></p><p>Finally, we can run Ubuntu inside our VSCode.</p><p>3. <strong>Install PostgreSQL</strong></p><p>I decided to place this installation here, because I never needed to modify <em>database.ym</em>l to configure the PostgreSQL connection. I also wanted to show you how I could replicate this in my configuration.</p><p>3.1 Install <strong>PostgreSQL</strong></p><p>(VSCode Terminal or our Ubuntu Shell) run:</p><pre>sudo apt install postgresql libpq-dev</pre><p>to verify this installation, run: psql --version</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*6b-8Sw1niWCdHAt072ZR3g.png" /></figure><p>Let’s create our user to access to our DB from Rails. Here is the trick, when we create a project, it says what user its needed. Just go to <em>database.yml</em> from our project, and read the comments:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*I6CX1sE-tTFkE7pJCi7ZVw.png" /></figure><p>So, using this suggestion, let’s create our first user:</p><pre>sudo -u postgres createuser <strong>api</strong> -s</pre><p>I just needed to create a first user, and in the following projects, it was not necessary to do so. If you do, just create the user asked by rails.</p><h3>Testing our Work</h3><ol><li><strong>Rails</strong></li></ol><p>Let’s create our project:</p><pre>rails new myapp -d postgresql</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/533/1*dTVra7VwIaWK0l8R6ii8AA.png" /></figure><p>Then, get into our <em>myapp </em>project and execute rails db:create</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*5lHa1dNcZnIKIQjvliy2Fw.png" /></figure><p>Run rails s and Eureka!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/494/1*_-rOePvtRt-IXB1VlmE98A.png" /></figure><p>Sometimes, we get warnings about permissions, we can fix it running:</p><pre>chmod +t -R ~/.bundle</pre><p>2. <strong>React</strong></p><p>Let’s create our my-app project:</p><pre>npx create-react-app my-app</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/456/1*NFYRtIBYijr0yFsCaBT3hQ.png" /><figcaption>npx create-react-app my-app</figcaption></figure><p>Running yarn yarn start</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*SEXPquTohUtUdGroGI0RcA.png" /><figcaption>yarn start</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/532/1*Is1RT-H7aeD4zzHsIZW_eg.png" /></figure><p>It worked!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/517/1*Vk6Z0FOxmYRy3UfT5Bzv-Q.png" /></figure><h4>Some Words</h4><p>Maybe there is a better way to do this, but right now, I needed to join all my effort in one post to help everybody who might need to work with Rails &amp; React in WSL.</p><p>Thank you to all the team who make possible this WSL project. I hope one day I could be like them.</p><h4>Reference Links</h4><ul><li><a href="https://docs.microsoft.com/en-us/windows/wsl/about">What is Windows Subsystem for Linux</a></li><li><a href="https://char.gd/blog/2017/how-to-set-up-the-perfect-modern-dev-environment-on-windows">GUIDE: How to set up the perfect Windows development environment</a></li><li><a href="https://gorails.com/setup/windows/10">Install Ruby On Rails on Windows 10 | GoRails - GoRails</a></li><li><a href="https://blog.joaograssi.com/windows-subsystem-for-linux-with-oh-my-zsh-conemu/">Setting up Windows Subsystem for Linux with zsh + oh-my-zsh + ConEmu</a></li><li><a href="https://medium.com/@pb5191/complete-development-environment-with-windows-10-and-linux-part-2-306629ac0a9d">Complete Development environment with Windows 10 and Linux — Part 2</a></li></ul><p>My <a href="http://www.linkedin.com/in/mayralucianavarro">LinkedIn</a></p><p>My <a href="https://twitter.com/mayralunavarro">Twitter</a></p><p>My <a href="https://github.com/luciagirasoles">GitHub</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d3307330b6ec" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My mental self-sabotage]]></title>
            <link>https://medium.com/@luciagirasoles/my-mental-self-sabotage-10111ff9a7a3?source=rss-d16cfb02c364------2</link>
            <guid isPermaLink="false">https://medium.com/p/10111ff9a7a3</guid>
            <category><![CDATA[codeable]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[change-your-life]]></category>
            <category><![CDATA[women-in-tech]]></category>
            <dc:creator><![CDATA[Mayra Lucia Navarro]]></dc:creator>
            <pubDate>Fri, 17 May 2019 15:17:52 GMT</pubDate>
            <atom:updated>2019-05-17T15:17:52.191Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*yzAiEqKA86b0srOB0A6-XA.jpeg" /></figure><blockquote>And I got to that moment in my life where my own body was sabotaging me …</blockquote><p>I’ve hated routine since my time in school, that place where everyone must enter and leave at a certain time, where they impose what to learn and how to learn — a place where I have arrived late all my life, perhaps as a kind of rebellious action by the imposition of something that I was not in agreement with. In the university … and although the schedules were not so standardized, there was still that factor of imposition. Although I cannot deny how accomplished I felt when I finished and got my professional degree. The following was “At work”: returning to the routine, Monday through Friday (sometimes Saturday) from 8:30 am to 6:30 pm, sign contracts that say 48 hours of which you work 45 (but 3 remain under the sleeve in case you work extra hours), support micromanaging, traffic, arrive late and they cut it from your pay, but if you work more they don’t pay you for it. Let’s add to that, that I have a hard time imagining what I would like to be or if I’m good at what I do (I discovered that this is one of the symptoms of impostor syndrome).</p><p>And about a year ago, my personal coach Marcos Andrade in one of our sessions asked me the following question:</p><blockquote>— How do you see yourself in 5 years? What do you imagine yourself doing? You have to be very specific.</blockquote><p>I answered without fear, the place, the hour, the time, etc. But when he asked me what I would be working on, I was blank, and until a few months ago I was still blank about the same question. How long are you going to continue in the same routine?</p><h4><strong>The start of my adventure in Codeable</strong></h4><p>At the end of October of last year, I finished an implementation project and started to search for a job once again, and in December I found a post in social media challenging me to study for 6 months full time (40 hours a week) in a bootcamp to become a full-stack programmer, and that included an internship in their facilities or in other technology-related companies. When I read that ad, I wanted to try it (yes, thinking about the 40 hours a week scared me). I put it in prayer… while reviewing the pros and cons. And what made me take “the step”, was the desire to change everything, and if it did not happen? I would have another skill in my Curriculum.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QOXoY8l7IsBkPCKZ2gME9w.jpeg" /><figcaption>Soft Skills session</figcaption></figure><p>Personally, I’m not afraid to return to a classroom, to learn every day is in my DNA, what scared me was the idea of ​​not having an income for 6 months, especially when one of your cats constantly gets sick and needs special food, nothing cheap. But I wanted to dare myself to do something.<br> <br> I spoke with my boyfriend, we checked and everything was aligned; In addition, my faith helped me to survive the waiting times between evaluations and allowed me to be persistent.<br> <br> They told us that out of around 200 applicants, only 20 were elected. It’s been about 11 weeks of learning code, soft skills, improving our English and after being in jobs where they look for every error to sink you, here it’s different… So different that I arrive early and leave late, study Saturdays and Sundays.<br> These guys, my teammates, my future colleagues, my friends are sharing the same goal, but different dreams: Working in Silicon Valley, being part of a technological company, starting a startup, moving out… etc.<br> <br> What makes me fight every day is: Living without ties, taking advantage of and enjoying every moment of the journey without any routines to limits me. I do not know where this new goal will take me, but what I do know is that after Codeable (bootcamp) incredible things are waiting for me…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=10111ff9a7a3" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>