Coder Social home page Coder Social logo

leolorenzoluis / eventstore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from applied-duality/eventstore

0.0 2.0 0.0 144.23 MB

The open-source, functional database with Complex Event Processing in JavaScript.

Home Page: https://geteventstore.com

License: Other

Shell 0.59% Batchfile 0.03% C# 97.77% PowerShell 0.70% HTML 0.01% JavaScript 0.38% C++ 0.38% C 0.04% Protocol Buffer 0.10%

eventstore's Introduction

#Event Store

Build status Build status

The main documentation has moved to https://docs.geteventstore.com.

Development is on the branch aimed at the next release (usually prefixed with release-v0.0.0). Please make any pull requests to this branch.

This is the repository for the open source version of Event Store, which now includes the clustering implementation for high availability. Further information on commercial support and options such as LDAP authentication can be found on the Event Store website at http://geteventstore.com.

##Building from Source

Event Store is written in a mixture of C#, C++ and JavaScript. It can run either on Mono or .NET, however because it contains platform specific code (including hosting the v8 JavaScript engine), it must be built for the platform on which you intend to run it.

Binaries are available from http://geteventstore.com, however if you want to build it from source, instructions for Windows and Linux are below.

###Debug Builds on Linux or MacOS X

There are two stages to building Event Store. First, a native library used for projections, libjs1 must be built. Following that, the main Event Store project can be built.

If you are running on Mac OS X Yosemite, Ubuntu Linux 14.04 or Amazon Linux 2015.03, it is not necessary to build libjs1 from source - precompiled binaries are already included in this repository. If you are running a different distribution or version than those listed above, you will need to compile libjs1 yourself.

####Compiling libjs1

#####Prerequisites

  • git on PATH
  • svn on PATH
  • gcc installed

#####Instructions (Mac OS X)

From the root of the repository:

scripts/build-js1/build-js1-mac.sh

#####Instructions (Linux)

From the root of the repository:

scripts/build-js1/build-js1-linux.sh [werror=no]

It may be necessary to include werror=no as the only parameter to the script if you have a newer compiler which treats warnings appearing as a result of compiling the Google V8 codebase as errors.

####Compiling Event Store (Linux and Mac OS X)

From the root of the repository:

./build.sh [<version=0.0.0.0>] [<configuration=release>] [<distro-platform-override>]

Versions must be complete four part idenfitiers valid for use on a .NET assembly.

Valid configurations are:

  • debug
  • release

The OS distribution and version will be detected automatically unless it is overriden as the last argument. This script expects to find libjs1.[so|dylib] in the src/libs/x64/distroname-distroversion/ directory, built using the scripts in the scripts/build-js1/ directory. Note that overriding this may result in crashes using Event Store.

The only supported Linux for production use at the moment is Ubuntu 14.04 LTS. However, since several people have asked for builds compatible with Amazon Linux in particular, we have included a pre-built version of libjs1.so which will link to the correct version of libc on Amazon Linux 2015.03.

Currently the supported versions without needing to build libjs1 from source are:

  • ubuntu-14.04 (Ubuntu Trusty)
  • amazon-2015.03 (Amazon Linux 2015.03)

Note that it is no longer possible to build x86 builds of Event Store.

###Debug Builds on Windows / .NET

####Prerequisites

  • .NET Framework v4.0+
  • Windows platform SDK with compilers (v7.1) or Visual C++ installed (Only required for a full build)
  • git on PATH
  • svn on PATH (Only required for a full build)

####Building the Event Store

From a command prompt:

  • build.cmd - runs the Event Store build
  • build.cmd clean-all - cleans the repository

Optional parameters (Specified using -ParameterName value)

  • -Platform - x64 (default) or x86
  • -Configuration - release (default) or debug
  • -Version - the semantic version number to give to the release. Defaults to version 0.0.0.0 which should be used for all non-released builds.
  • -SpecificVisualStudioVersion - 2010, 2012, 2013, Windows7.1SDK. Default is to use whichever version is installed - this only needs to be overriden if you have multiple versions installed.
  • -ForceNetwork - true if you want to force the script to get dependencies even if Windows thinks theres no network connection (otherwise we don't try to avoid sometimes lengthy delays).
  • -Defines - any additional defines you want to pass to the compiler. Should be enclosed in single quotes

####Building the Event Store from Visual Studio

When building through Visual Studio, there are PowerShell scripts which run as pre- and post-build tasks on the EventStore.Common project, which set the informational version attribute of the EventStore.Common.dll assembly to the current commit hash on each build and then revert it.

eventstore's People

Contributors

ysw avatar anakryiko avatar gregoryyoung avatar pgermishuys avatar jen20 avatar kpyatkivskyy avatar markiyanmatsekh avatar thefringeninja avatar lscpike avatar hayley-jean avatar jbradford avatar riccardone avatar dnauck avatar ascjones avatar thinkbeforecoding avatar rcknight avatar gutek avatar szymonpobiega avatar t3hnar avatar belczyk avatar abdullin avatar eventstore-service avatar adbrowne avatar danleech avatar fzawada avatar ouro-ouroboros avatar robashton avatar mpielikis avatar nrolland avatar ruudud avatar

Watchers

Leo Lorenzo Luis avatar  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.