elasticfeed

command module
v0.0.0-...-7695c73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2015 License: MIT Imports: 1 Imported by: 0

README

logo - new page 6

Overview

elasticfeed-overview - server-engine 3

Internal workflow

elasticfeed-overview - mission

Development environment

Create symbolic link from you directory to GOPATH

cd to-your-project
mkdir -p $GOPATH/src/github.com/feedlabs
ln -s $(pwd) $GOPATH/src/github.com/feedlabs/elasticfeed
Developing Elasticfeed

If you wish to work on Elasticfeed itself or any of its built-in providers, you'll first need Go installed (version 1.2+ is required). Make sure Go is properly installed, including setting up a GOPATH.

Next, install the following software packages, which are needed for some dependencies:

Then, install Gox, which is used as a compilation tool on top of Go:

$ go get -u github.com/mitchellh/gox

Next, clone this repository into $GOPATH/src/github.com/elasticfeed/elasticfeed. Install the necessary dependencies by running make updatedeps and then just type make. This will compile some more dependencies and then run the tests. If this exits with exit status 0, then everything is working!

$ make updatedeps
...
$ make
...

To compile a development version of Elasticfeed and the built-in plugins, run make dev. This will put Elasticfeed binaries in the bin folder:

$ make dev
...
$ bin/elasticfeed
...

If you're developing a specific package, you can run tests for just that package by specifying the TEST variable. For example below, only elasticfeed package tests will be run.

$ make test TEST=./elasticfeed
...
Run

Environment variables for plugins

export ELASTICFEED_PLUGIN_MIN_PORT=40000
export ELASTICFEED_PLUGIN_MAX_PORT=41000

Compilation and running

go run api.go
Dependencies
  • go get github.com/feedlabs/feedify repo
Documentation
Install
$ npm install apidoc -g
Generate
$ apidoc -i service/db -o docs/api
View
$ open docs/api/index.html

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
ai
dsp
gpu
The plugin package provides the functionality to both expose a Elasticfeed plugin binary and to connect to an existing Elasticfeed plugin binary.
The plugin package provides the functionality to both expose a Elasticfeed plugin binary and to connect to an existing Elasticfeed plugin binary.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL