Giter Site home page Giter Site logo

peimanpahleh / eventstore Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eventstore/eventstore

0.0 0.0 0.0 312.56 MB

The stream database optimised for event sourcing

Home Page: https://eventstore.com

License: Other

Shell 0.25% C# 99.38% PowerShell 0.07% HTML 0.01% JavaScript 0.25% Batchfile 0.01% Dockerfile 0.03% Smalltalk 0.01%

eventstore's Introduction

EventStoreDB

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

This is the repository for the open source version of EventStoreDB, which includes the clustering implementation for high availability.

Support

Information on support and commercial tools such as LDAP authentication can be found here: Event Store Support.

CI Status

Build

Build

Build

Build

Build

Documentation

Documentation is located in the docs folder. It's orchestrated in the separate documentation repository. It's available online at https://developers.eventstore.com/.

Read more in the documentation contribution guidelines.

Community

We have a community discussion space at Event Store Discuss. If you prefer Slack, there is also an #eventstore channel in the DDD-CQRS-ES Slack community (Sign-up information).

Release Packages

The latest release packages are hosted in the downloads section on the Event Store website: Event Store Downloads

We also host native packages for Linux on Package Cloud and Windows packages can be installed via Chocolatey (4.0.0 onwards only).

Building EventStoreDB

EventStoreDB is written in a mixture of C#, C++ and JavaScript. It can run on Windows, Linux and macOS (using Docker) using the .NET Core runtime. However, the projections library (which uses the V8 javascript engine) contains platform specific code and it must be built for the platform on which you intend to run it.

Windows / Linux

Prerequisites

Build EventStoreDB

Once you've installed the prerequisites for your system, you can launch a Release build of EventStore as follows:

dotnet build -c Release src

The build scripts: build.sh and build.ps1 are also available for Linux and Windows respectively to simplify the build process.

To start a single node, you can then run:

dotnet ./src/EventStore.ClusterNode/bin/x64/Release/net5.0/EventStore.ClusterNode.dll --insecure --db ./tmp/data --index ./tmp/index --log ./tmp/log -runprojections all --startstandardprojections --EnableAtomPubOverHttp

Note: The build system has changed after version 5.0.5, therefore the above instructions will not work for older releases.

Running the tests

You can launch the tests as follows:

dotnet test src/EventStore.sln

Build EventStoreDB Docker image

You can also build a Docker image by running the command:

docker build --tag eventstore/eventstore:{version}-{container-runtime} . \
--build-arg CONTAINER_RUNTIME={container-runtime}
--build-arg RUNTIME={runtime}

For instance:

docker build --tag eventstore/eventstore:21.10.1-buster-slim . \
--build-arg CONTAINER_RUNTIME=buster-slim \
--build-arg RUNTIME=linux-x64

Note: Because of the Docker issue, if you're building a Docker image on Windows, you may need to set the DOCKER_BUILDKIT=0 environment variable. For instance, running in PowerShell:

$env:DOCKER_BUILDKIT=0; docker build --tag eventstore/eventstore:21.10.1-buster-slim . `
--build-arg CONTAINER_RUNTIME=buster-slim `
--build-arg RUNTIME=linux-x64

Currently we support following configurations:

  1. Buster slim:
  • CONTAINER_RUNTIME=buster-slim
  • RUNTIME=linux-x64
  1. Focal:
  • CONTAINER_RUNTIME=focal
  • RUNTIME=linux-x64
  1. Alpine:
  • CONTAINER_RUNTIME=alpine
  • RUNTIME=alpine-x64

You can verify the built image by running:

docker run --rm eventstore/eventstore:21.10.1-buster-slim --insecure --what-if

Building the EventStoreDB Clients

The client libraries are located in their own repositories, refer to their specific instructions.

gRPC clients:

TCP clients:

Note: the TCP protocol is being phased out.

Building the EventStoreDB web UI

The web UI repository is a git submodule of the current repository located under src/EventStore.UI.

The web UI is prebuilt and the files are located in src/EventStore.ClusterNode.Web/clusternode-web. However, if you still want to build the latest web UI, there is a parameter in the build.sh ([<build_ui=yes|no>]) and build.ps1 (-BuildUI) scripts to allow you to do so.

Building the Projections Library

The list of precompiled projections libraries can be found in src/libs/x64. If you still want to build the projections library please follow the links below.

Contributing

Development is done on the master branch. We attempt to do our best to ensure that the history remains clean and to do so, we generally ask contributors to squash their commits into a set or single logical commit.

If you want to switch to a particular release, you can check out the tag for this particular version. For example:
git checkout oss-v6.0.0-preview1

Read more in the contribution guidelines.

Proto Changes

If you update the protos, continuous integration will fail. After ensuring the proto change is backwards compatible, please run ./protolock.sh commit at the root of this repository.

eventstore's People

Contributors

ysw avatar anakryiko avatar pgermishuys avatar shaan1337 avatar gregoryyoung avatar hayley-jean avatar jen20 avatar thefringeninja avatar kpyatkivskyy avatar eventstore-bot avatar markiyanmatsekh avatar timothycoleman avatar jageall avatar lougarou avatar pvanbuijtene avatar yoeight avatar lscpike avatar arwinneil avatar avish0694 avatar mat-mcloughlin avatar alexeyzimarev avatar condron avatar oskardudycz avatar riccardone avatar ylorph avatar jbradford avatar dnauck avatar danielmarbach avatar rcknight avatar mpielikis 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.