Giter Site home page Giter Site logo

redis.prefpane's Introduction

Redis.prefPane

A Mac OS X system preference pane which aids in starting and stopping the Redis database server.

Features include:

Start and Stop of the database server Enabling and Disabling the auto-start option when your computer boots up.

Screenshot

prefPane screenshot

Installation

  1. Install Redis using HomeBrew
    1. brew install redis
  2. Copy homebrew.mxcl.redis.plist to your ~/Library/LaunchAgents
    1. mkdir -p ~/Library/LaunchAgents
    2. cp /usr/local/Cellar/redis/2.4.13/homebrew.mxcl.redis.plist ~/Library/LaunchAgents/
  3. Edit your /usr/local/etc/redis.conf
    1. find the line with daemonize no
    2. change it to daemonize yes
  4. Download the prefPane or clone and compile it yourself.
    1. Download: Redis.prefPane
    2. Git clone: git clone git://github.com/dquimper/Redis.prefPane.git

License

All the work Salvatore Sanfilippo and Pieter Noordhuis are doing in order to develop Redis is sponsored by VMware.

The Redis logo was designed by Carlos Prioglio. See more credits.

The source code for the pref pane is Open Source under MIT License. See the LICENSE file for full details of the MIT License.

Why

This is my first MacOSX application and my first experience with Objective-C.

This project was created to mimic the mySQL Preference pane that you get from downloading the mySQL tarball. The code is shamelessly copied and adapted from the pgpane project by John Wang (a Postgres prefPane).

It was created to help non-technical people in getting their Ruby on Rails system set up with Redis, and are not too familiar with the Terminal app and unix commands.

Similar projects

  • The PostgreSQL prefPane (github) by John Wang
  • Preference Pane for MacFUSE (github)
  • PassengerPrefPane compiled for OSX Lion Intel 64-bits (github)
  • mongoDB pref pane for MacOS X (github)

redis.prefpane's People

Contributors

dquimper avatar jiverson avatar theodor-franke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

redis.prefpane's Issues

Binary incompatible with MacOSX 10.7.4

Sorry, I hate to be the first issue for you.

Installed fine, however clicking the Redis icon in the System Preferences pane yields "Could not load Redis preference pane.". The first time I clicked it, it mentioned something about not being compatible with Intel Macs.

Gav

Doesn't seem to be working with Mavericks

Says "Could not load the redis preference pane" upon loading Preferences on OSX Mavericks, can anyone else reproduce?

λ ~/ redis-server --version                                                                                             
Redis server v=2.8.13

Installed redis with brew.

Force to quit on maverick

It seams that the PrefPane is to long to launch and crash totally here is the solution :

args = [NSArray arrayWithObjects: LAUNCHCTL, nil];
self.launchctl = [self runCLICommand:WHICH arguments:args];    
self.launchctl = [self.launchctl stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];

args = [NSArray arrayWithObjects:@"/usr/local/Cellar",@"-type", @"f", @"-name", REDIS_CLI, nil];
self.redis_cli = [self runCLICommand:FIND arguments:args];
self.redis_cli = [self.redis_cli stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];


args = [NSArray arrayWithObjects:@"/usr/local/Cellar",@"-type", @"f", @"-name", REDIS_SERVER, nil];
self.redis_server = [self runCLICommand:FIND arguments:args];
self.redis_server = [self.redis_server stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];


args = [NSArray arrayWithObjects:@"/usr/local/etc",@"-type", @"f", @"-name", @"redis.conf", nil];
self.redis_conf = [self runCLICommand:FIND arguments:args];
self.redis_conf = [self.redis_conf stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];

Change the path in the Args to get the element faster !!!!

Garbage Collection No Longer Supported.

Compiling this with XCode 5.1 (5B130a), I get this error:

The project “Redis” uses garbage collection, which is deprecated in OS X. Xcode no longer supports building or debugging applications that use garbage collection. Choose “Convert to ARC” to update your project to use automatic reference counting.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.