This is a bash script, as an example, on how to do click-testing GUI based on finding components based on how they look.
This guide assumes that you recently run
brew upgrade postgresql and discovered to your dismay that you accidentally bumped from one major version to another: say 9.3.x to 9.4.x. Yes, that is a major version bump in PG land.
First let's check something.
brew info postgresql
The top of what gets printed as a result is the most important:
This brief guide is written from my own experience with migrating a large (~5GB) MySQL database to PostgreSQL for a Rails project.
No warranties, guarantees, support etc. Use at your own risk and, as always, ENSURE YOU MAKE BACKUPS FIRST!
I chose [
pgloader] because it's extremely fast. YMMV.
config/database.ymlfor PostgreSQL. I used [Rails' template] as a starting point.
|# This build script will build Ruby 2.0.0-p247. You will need su to|
|# root or sudo as required.|
|# This build tested against Debian 7.0 64-bit arch, installed from net-inst image.|
|# These aren't specifically Ruby deps; more for building software in general|
|# (you probably already have them)|
|apt-get install -y build-essential autoconf|
|# These deps will support common libraries like yaml and give you the best irb experience.|