I also make references to Rebecca Black and Mister Mister. I spend a couple of minutes explaining what Postgres is, in case you're not familiar with it, and I use Mike Perham's awesome launchctl controller Lunchy to manage the starting and stopping of Postgres instead of the usual (and arcane) Apple tools. So, I present, a scrappy 13 minute video alternative to the above tutorial: I still wanted to bring something to the table despite Will's work so I asked if I could make a screencast that roughly followed the same lines as his tutorial and he was up for it. installation (super simple with Homebrew).It's entirely Mac OS X focused, so don't expect to enjoy it too much if you're on Linux or Windows! Will's post is a walkthrough of the process from sitting at an empty terminal prompt through to having a barebones Rails 3 app running on a Postgres powered database. Setting up PostgreSQL for Ruby on Rails development on OS X by Will Jessop :-) The Article. Coincidentally, it turned out 37signals sysadmin Will Jessop was already working on one so, I present. Postgres) installation tutorial for Ruby Inside. Installing PostgreSQL with Homebrew is very easy.I hang out in #nwrug on Freenode, the IRC channel of a Ruby user group here in the UK, and floated the idea of doing a PostgreSQL (a.k.a. When you do that, the folder will be moved to the trash. When doing so, you will be prompted to input your administrator password. You have to move the PostgreSQL folder and the remaining contents into the trash. At the end, it will tell you that the uninstall is complete, but that your data was not removed. Click on that to uninstall PostgreSQL from your machine. Inside, you will see something called the PostgreSQL uninstaller. To uninstall the install, click on your Macintosh HD icon on your desktop, go into Library folder, and then into your PostgreSQL folder which resides inside the Library folder. It involved getting rid of the standard account which had been created by the Migration Assistant during the restoration of my data and subsequent migration to my new computer, getting rid of the install I had made yesterday, re-installing PostgreSQL with Homebrew, and making sure that I added a postgres user afterwards that contained a password (it does not by default). It had screwed up my PostgreSQL install when it was migrated to my current machine, and getting rid of all traces of my download(s) from was a bit of a challenge. Part of it actually had to do with the (relatively new) Migration Assistant on Mac OSX. Unfortunately, I had initially stumbled clumsily and imperfectly through the process, making a few errors along the way. Which takes me back to my battle with PostgreSQL on my machine in a way that suited my needs.Īs I had mentioned in my previous post, I wanted the ability to play around with PostgreSQL and view it in a Graphical User Interface (GUI), but also have all the features of a Homebrew install. If you don’t know how to use them properly, your programming will suffer! Getting to know the tools you use as a developer is just as important as learning to program. This post was originally published on my developer blog June 17, 2018. This post assumes that you have already backed up your existing databases somewhere (if you cared about them!).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |