Install using Homebrew:
brew tap elastic/tap # Tap elastic brew search elasticsearch # Will show available versions brew install firstname.lastname@example.org # install specific version
Start ElasticSearch Server
brew services start email@example.com
pg_dump is a nifty utility designed to output a series of SQL statements that describes the schema and data of your database. You can control what goes into your backup by using additional flags.
pg_dump -h localhost -p 5432 -U postgres -d mydb > backup.sql
psql -h localhost -p 5432 -U postgres -d mydb < backup.sql
-h is for host.
-p is for port.
-U is for username.
-d is for database.
NOTE: This post now lives (and kept up to date) on my blog: http://hakunin.com/rails3-load-paths
Do nothing. All files in this dir are eager loaded in production and lazy loaded in development by default.