![]() ![]() ![]() Be sure to store the username and password you enter somewhere secure so you remember it. PostgreSQL for Windows takes some time to download, so a wait-time of a few minutes is normal. ![]() It looks possible to install PostgreSQL that way (see this post), but I ran into issues trying to connect Rails and PostgreSQL while using apt-get. I opted to install PostgreSQL this way instead of trying to install PostgreSQL in the Ubuntu subsystem using apt-get (a command-line tool for installing software packages). Keep an eye out for the link to “Download the installer” at the top of the page. I used this PostgreSQL for Windows Installer to install PostgreSQL onto my computer. (Note: you’ll need to sign up for Windows Insider, but it’s free and took just a few minutes for me to do.) Here's the link to the Microsoft documentation on how to install the Windows Subsystem for Linux and install the Ubuntu app which is used to access it. The main benefit of using the WSL is that we can 1) use Linux command-line tools and applications and 2) avoid the potential headache of navigating through Windows Powershell. The Windows Subsystem for Linux (or WSL) allows developers to run a Linux environment directly from Windows, while Ubuntu is an operating system that’s based on Linux. Install Ubuntu on the Windows Subsystem for Linux (WSL)įirst things first, let’s define a few key things. So without further ado, here’s how we were able to get Rails successfully installed on Windows:ġ. Well, it turned out to be quite a confusing process, but after much head-scratching and jumping through many Google search hoops, I’m happy to report that we succeeded in getting everything up and running. The only problem? I was stuck with my personal Windows computer while waiting for a company MacBook to be shipped to me.Īlas, my first challenge: Getting Rails 6 and PostgreSQL working on Windows. During my first week as a Junior Software Engineer with the Orbit team, I had many things to do to get into the overall swing of things, and one of the most important tasks was getting our Rails application set up on my local machine. ![]()
0 Comments
Leave a Reply. |