The user interface for Event Store. This is included as a submodule in the main Event Store repository.
Currently there are two ways to run the UI:
index.html
located in the src
folder in your browser.gulp connect
. The command gulp-connect runs a webserver with LiveReload (see dev section for info how to set up gulp if you are new to it). gulp connect
needs gulp-cli
to run, please see Dev information on how to install it properly.To start developing, make sure you have the following requirements:
If you already have another version of Node.js installed, nvm
can be used to both install and set Node.js v18.12.1 as the active one:
nvm install 18.12.1
nvm use 18.12.1
nvm for Windows can be downloaded here.
nvm for Linux can be installed using the following instructions.
First, check your version of npm using npm --version
. Install npm v9.2.0 only if your current version is below 9.2.0:
npm install -g npm@9.2.0
Any global installation of gulp
should be removed before installing gulp-cli
to avoid conflicts. The latter will run the local installation of gulp v4.0.0
which is already a devDependency in the project.
npm rm -g gulp
npm install -g gulp-cli
npm install -g bower@1.8.14
cd EventStore.UI
npm install
If npm install
succeeds, go to Step 6.
If you get errors related to MSBUILD, VS2017, or VC++ on Windows, follow the steps below to install the missing dependencies:
EventStore.UI
directory:npm clean-install
npm install
bower install
If you get the error message "bower.ps1 cannot be loaded because running scripts is disabled on this system" on Windows, run the command below in PowerShell:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Then, run bower install
again.
// Starts webserver with live reload
gulp connect
// Executes jshint
gulp lint
// Transforms HTML file templates into Angular.js module
gulp html
// Builds the project: Creates minified version of CSS, JS, etc.
gulp dist