Getting acquainted with Cinderella

For over 3 years I’ve used MacPorts to setup my development environment on Mac OS X, but with a recent reformat, I decided to forego

1
port
in favor of
1
brew
. I’ve switched to Homebrew for my package management, and I’ve gone with Cinderella specifically for web development.

Cinderella was appealing for a few reasons, mainly I got quite a few awesome tools such as node, redis, memcached and mondodb, while following the lead of Homebrew and using the existing tools I already had on a stock MacBook Pro, such as apache and php.

I immediately took issue with one thing though; Cinderella starts all of these services as Launchd items in `~/Library/LaunchAgents` with the `RunAtLoad` and `KeepAlive` options set. I wouldn't mind if this was a workstation, but it's my laptop and I don't always want those things running in the background

UPDATE: I made a ticket on the projects home and the developer responded back with a good point; it’s better to have it “just work” than muddy it with configuration options. That said, I no longer take issue with with RunAtLoad option.

Easy enough to change though, just edit the files in

1
~/Library/LaunchAgents
and turn those keys to
1
false
and restart your machine and you’ll be fine. Note that updating Cinderella will revert these changes, so until that’s a configuration option you’ll have to reset it each time.

Cinderella sets up PostgreSQL and MySQL for you, but postgres is ran as your normal user, instead of a

1
postgres
user like MacPorts. This was actually a relief to me. Maybe that’s not “the way it should be”, but this is a dev environment not production. I did however miss that this meant the default user was also gone… so
1
psql -U postgres
was returning a fatal error because the role
1
postgres
didn’t exist. Cinderella actually creates a default user of your own username, so psql -U `whoami` will log you in, and if you’re like me, you can then create your default user and feel right at home.

Cinderella is under development and hosted on Github, so head over there and get some hardcore forking action

@ctshryock

About

My name is Clint Shryock. I develop things in Go and Ruby. I live in central Missouri, where the weather is beautiful 4 months of the year.
+-----------------+
|                       |
|      (ノ^_^)ノ      |
|                       |
|   ☜(゚ヮ゚☜)    |
|                       |
|     ౿(ఠ_ఠఎ)    |
|                       |
|        ಠ_ಠ         |
x                      x
  xxx           xxx
       xx    xx
           xx