Git Product home page Git Product logo

homebrew-scribe's Introduction

Scribe Formula for Homebrew

This repository contains a Homebrew formula, that uses a Swiftype custom fork of now abandoned Facebook project to build Scribe logging server on MacOS X using CMake and CLang compiler.

How to Use This Formula?

To use this custom repository, you need to tap into it using the following command:

    $ brew tap swiftype/scribe
    Cloning into '/usr/local/Library/Taps/swiftype/homebrew-scribe'...
    remote: Counting objects: 3, done.
    remote: Compressing objects: 100% (2/2), done.
    remote: Total 3 (delta 0), reused 3 (delta 0)
    Unpacking objects: 100% (3/3), done.
    Checking connectivity... done.
    Tapped 1 formula

When this is done, you could check to make sure your Homebrew actually sees our formula:

    $ brew info scribe
    scribe: stable 68, HEAD
    https://github.com/facebookarchive/scribe
    /usr/local/Cellar/scribe/68 (12 files, 716K) *
      Built from source
    From: https://github.com/swiftype/homebrew-scribe/blob/master/scribe.rb
    ==> Dependencies
    Build: cmake ✔
    Required: libevent ✔, thrift ✔

Now you are ready to install Scribe server on your machine:

    $ brew install scribe
    ...
    ...
    🍺  /usr/local/Cellar/scribe/68: 12 files, 716K, built in 21 seconds

Done! Now you can run Scribe like the following:

    $ scribe -h
    [Thu Aug  7 23:57:13 2014] "setrlimit error (setting max fd size)"
    Usage: scribe [-p port] [-c config_file]

Please note, that we do not provide any startup scripts or initial configs for the service, you will need to start it with whatever configuration you like. For more information on how to configure or run Scribe, please check their official documentation.

Troubleshooting

If you experience any issues with the build, first thing to try should be brew update to make sure you have the latest versions of homebrew formulas.

If your Scribe installation still fails, there is a chance you already had a bit outdated version of thrift installed. Please try to uninstall thrift (brew uninstall thrift until all versions of it are gone) and then try to install scribe again (it will install the latest thrift version as a dependency).

If you still could not install Scribe, please file an issue with this repo and include the output of the following commands:

  • uname -a
  • brew info scribe
  • brew info thrift
  • brew install -vd scribe

homebrew-scribe's People

Contributors

gtkesh avatar kovyrin avatar

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.