GithubHelp home page GithubHelp logo

asdf-redis's Introduction

asdf-redis Build

Redis plugin for asdf version manager

Dependencies

This requires brew if you're on a mac, or a debian flavored linux. If you need it to work on something else, you'll likely need to modify the plugin.

  1. You will need a compiler.
  • Mac
    1. gcc
    2. Hit the ok button and it will install. If it already has it, then you are good.
  • Ubuntu
    1. sudo apt-get install linux-headers-$(uname -r) build-essential

Install

asdf plugin-add redis https://github.com/smashedtoatoms/asdf-redis.git

Try it out

  1. Open up a terminal and run redis-server. This will get it running on the standard port (6379)
  2. Open another terminal and run redis-cli. This will open the redis cli so you can manually set, get, and delete keys. For example:
~ % redis-cli
127.0.0.1:6379> set someKey "boomdiggity"
OK
127.0.0.1:6379> get someKey
"boomdiggity"

As long as that initial terminal session is running, you should be able to use it on port 6379 on localhost. Have fun!

Gotchas

This is a bare bones install of redis. It has no configuration setup, no restart setup, or anything else. It's just the binaries. Fortunately, the binaries are usually all you need for dev environments.

Use

Check asdf readme for instructions on how to install & manage versions of Redis.

When installing Redis using asdf install, you can pass custom configure options with the following env vars:

  • REDIS_CONFIGURE_OPTIONS - use only your configure options
  • REDIS_EXTRA_CONFIGURE_OPTIONS - append these configure options along with ones that this plugin already uses

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.