bloc referral

If you are interested in learning to code with a mentor, try bloc and get $100 off.
Showing posts with label pg. Show all posts
Showing posts with label pg. Show all posts

Monday, June 9, 2014

Start Postgres and others at login

While going to through the install instructions for this work app I notice there is a way to start PG at login. Previously working with the Odin Project and installing that locally I found out through trial and error I needed to launch postgres locally via the mac app, but I was unaware that I could launch at startup.

stackoverflow question
To start PostgreSQL at login:
$ ln -sfv /usr/local/opt/postgresql/*.plist ~/Library/LaunchAgents 

Redis is another item recommended to launch at the login, but at the moment I am unsure of what it does. Look out for more things I will be discovering on this journey.