Eventide for Postgres Setup
- Ruby (minimum version: 2.4)
- Postgres (minimum version: 9.5)
- GCC (required for installing the PG gem)
Install the Eventide Postgres Gem
Using RubyGems Directly
gem install eventide-postgres
# Gemfile source 'https://rubygems.org' gem 'eventide-postgres'
Create the Message Store Database
The command to install the database is:
Or via Bundler:
bundle exec evt-pg-create-db
We recommend against installing any stack or framework into the system-wide gem registry.
Rather than install the Eventide toolkit into the system-wide registry, we recommend that you install the gems into the directory structure of the project that uses Eventide. This is not strictly required, but it's a habit that can help avoid time spent troubleshooting and debugging unintended consequences of having the same library installed in multiples locations in the search path.
The following command installs the gems into a subdirectory named
gems of the current directory:
gem install eventide-postgres --install-dir ./gems
bundle install --path=./gems
For example, if the current directory is
my-project, then command above would install the gems into