PageSourceSearch

https://eventide-project.org/assets/js/33.b17a00ae.js

js eventide-project.org collected 2026-10-03 20:37:44 UTC 5,484 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{308:function(e,t,s){"use strict";s.r(t);var a=s(14),r=Object(a.a)({},(function(){var e=this,t=e._self._c;return t("ContentSlotsDistributor",{attrs:{"slot-key":e.$parent.slotKey}},[t("h1",{attrs:{id:"eventide-for-postgres-setup"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#eventide-for-postgres-setup"}},[e._v("#")]),e._v(" Eventide for Postgres Setup")]),e._v(" "),t("h2",{attrs:{id:"software-prerequisites"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#software-prerequisites"}},[e._v("#")]),e._v(" Software Prerequisites")]),e._v(" "),t("ul",[t("li",[e._v("Ruby (minimum version: 2.4)")]),e._v(" "),t("li",[e._v("Postgres (minimum version: 9.5)")]),e._v(" "),t("li",[e._v("GCC (required for installing the PG gem)")])]),e._v(" "),t("h2",{attrs:{id:"install-the-eventide-postgres-gem"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#install-the-eventide-postgres-gem"}},[e._v("#")]),e._v(" Install the Eventide Postgres Gem")]),e._v(" "),t("h3",{attrs:{id:"using-rubygems-directly"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#using-rubygems-directly"}},[e._v("#")]),e._v(" Using RubyGems Directly")]),e._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[e._v("gem "),t("span",{pre:!0,attrs:{class:"token function"}},[e._v("install")]),e._v(" eventide-postgres\n")])])]),t("h3",{attrs:{id:"via-bundler"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#via-bundler"}},[e._v("#")]),e._v(" Via Bundler")]),e._v(" "),t("div",{staticClass:"language-ruby extra-class"},[t("pre",{pre:!0,attrs:{class:"language-ruby"}},[t("code",[t("span",{pre:!0,attrs:{class:"token comment"}},[e._v("# Gemfile")]),e._v("\nsource "),t("span",{pre:!0,attrs:{class:"token string-literal"}},[t("span",{pre:!0,attrs:{class:"token string"}},[e._v("'https://rubygems.org'")])]),e._v("\ngem "),t("span",{pre:!0,attrs:{class:"token string-literal"}},[t("span",{pre:!0,attrs:{class:"token string"}},[e._v("'eventide-postgres'")])]),e._v("\n")])])]),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[e._v("bundle "),t("span",{pre:!0,attrs:{class:"token function"}},[e._v("install")]),e._v("\n")])])]),t("h2",{attrs:{id:"create-the-message-store-database"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#create-the-message-store-database"}},[e._v("#")]),e._v(" Create the Message Store Database")]),e._v(" "),t("p",[e._v("See the "),t("RouterLink",{attrs:{to:"/user-guide/message-db/install.html"}},[e._v("installation")]),e._v(" section of the "),t("RouterLink",{attrs:{to:"/user-guide/message-db/"}},[e._v("message store documentation")]),e._v(" for instructions on running the database creation command line tool.")],1),e._v(" "),t("p",[e._v("The command to install the database is:")]),e._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[e._v("mdb-create-db\n")])])]),t("p",[e._v("Or via Bundler:")]),e._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[e._v("bundle "),t("span",{pre:!0,attrs:{class:"token builtin class-name"}},[e._v("exec")]),e._v(" mdb-create-db\n")])])]),t("h2",{attrs:{id:"installation-directory"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#installation-directory"}},[e._v("#")]),e._v(" Installation Directory")]),e._v(" "),t("div",{staticClass:"custom-block warning"},[t("p",{staticClass:"custom-block-title"},[e._v("WARNING")]),e._v(" "),t("p",[e._v("We recommend against installing "),t("em",[e._v("any")]),e._v(" stack or framework into the system-wide gem registry.")])]),e._v(" "),t("p",[e._v("Rather than install the Eventide toolkit into the system-wide registry, we "),t("em",[e._v("recommend")]),e._v(" 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.")]),e._v(" "),t("p",[e._v("The following command installs the gems into a subdirectory named "),t("code",[e._v("gems")]),e._v(" of the current directory:")]),e._v(" "),t("h3",{attrs:{id:"via-rubygems"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#via-rubygems"}},[e._v("#")]),e._v(" Via RubyGems")]),e._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[e._v("gem "),t("span",{pre:!0,attrs:{class:"token function"}},[e._v("install")]),e._v(" eventide-postgres --install-dir ./gems\n")])])]),t("h3",{attrs:{id:"via-bundler-2"}},[t("a",{staticClass:"header-anchor",attrs:{href:"#via-bundler-2"}},[e._v("#")]),e._v(" Via Bundler")]),e._v(" "),t("div",{staticClass:"language-bash extra-class"},[t("pre",{pre:!0,attrs:{class:"language-bash"}},[t("code",[e._v("bundle "),t("span",{pre:!0,attrs:{class:"token function"}},[e._v("install")]),e._v(" "),t("span",{pre:!0,attrs:{class:"token parameter variable"}}
1,[e._v("--path")]),t("span",{pre:!0,attrs:{class:"token operator"}},[e._v("=")]),e._v("./gems\n")])])]),t("p",[e._v("For example, if the current directory is "),t("code",[e._v("my-project")]),e._v(", then command above would install the gems into "),t("code",[e._v("my-project/gems")]),e._v(".")])])}),[],!1,null,null,null);t.default=r.exports}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.