Download PaGoDump - PostgreSQL - Easily create PostgreSQL database backups, even while you are operating the specified schema, using this reliable GUI-based application. Apr 07, 2016. Postgres.app is a full-featured PostgreSQL installation packaged as a standard Mac app. It includes everything you need to get started: we’ve even included popular extensions like PostGIS for geo data and plv8 for JavaScript. PostgreSQL 9.5.2 Released: 1st Apr 2016 (4 years ago) PostgreSQL 9.5.1 Released: 12th Feb 2016 (5 years ago) PostgreSQL 9.5.0 Released: 8th Jan 2016 (5 years ago). Postgres.app is about 50mb, and is by far the easiest way to setup Postgres on a Mac. It runs like any other you would download, can automatically start up with your Mac, and allows us to skip a lot of command line steps that used to be required to set up Postgres on a Mac. Yay for progress!
This is a quick guide for installing PostgreSQL (
Postgres for short) on a Mac with Homebrew, and starting and stopping it with Lunchy. If you've just forked a Ruby on Rails project that requires Postgres, this tutorial will get you up and running in no time.
If you're working on a brand new Rails app and need to create a new Postgres user and database for your app, I recommend Will Jessop's tutorial or Peter Cooper's screencast.
Step 1: Install Homebrew
Rhiannon fleetwood mac mp3 download. To make sure you have all the tools necessary for Ruby on Rails development, I recommend you follow my tutorial for installing Xcode, Homebrew, Git, RVM, and Ruby on a Mac.
![]() Step 2: Update Homebrew
Teamviewerqs client download for mac. Before you install anything with Homebrew, you should always make sure it's up to date and that it's healthy:
Step 3: Install Postgres
When you install Postgres, you will see a bunch of output in your Terminal that looks like this:
The important sections are
Build Notes , Create/Upgrade a Database , and Start/Stop PostgreSQL . Make sure to follow those instructions to the letter.
Step 4: Create/Upgrade a database
If this is your first time installing Postgres with Homebrew, you'll need to create a database with:
I copied and pasted that command directly from the Terminal output. You should do the same, in case the instructions change in the future.
Step 5: Install Lunchy
Lunchy is a helpful gem that will allow you to easily start and stop Postgres.
![]() Step 6: Start/Stop PostgresDownload Postgresql 12
Once again, I'm copying and pasting the following commands from my Terminal. Note that the second command is specific to the version of Postgres that was installed on my machine. If the version number has changed since I've written this tutorial, using the command below won't work for you, so you should make sure to copy the command from your Terminal output.
Since we're using Lunchy, we don't need to run this third command:
Instead, we'll simply use this to start Postgres: https://yellowtricks.weebly.com/blog/canon-cp780-driver-download-mac.
At this point, you should be all set to run the
rake commands to create and use the database for the existing Rails app you're working on.
Download Postgresql 10
To stop Postgres:
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |