You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+34-38Lines changed: 34 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,58 +6,59 @@ The user interface for Event Store. This is included as a submodule in the main
6
6
7
7
Currently there are two ways to run the UI:
8
8
9
-
* Open `index.html` located int `src` folder in browser.
10
-
* Execute `gulp connect` - this command [gulp-connect](https://github.com/avevlad/gulp-connect)run webserver with LiveReload (see dev section for info how to set up gulp if you are new to it) - `gulp connect` needs `gulp` to run, please see Dev information on how to install it.
9
+
1. Open `index.html` located in the `src` folder in your browser.
10
+
2. Execute `gulp connect`. The command [gulp-connect](https://github.com/avevlad/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.
11
11
12
12
## Dev
13
13
14
14
To start developing, make sure you have the following requirements:
15
15
16
-
#### 1. Install [node.js v10.20.1](https://nodejs.org/en/blog/release/v10.20.1/)**and** (Python 2.7)[https://www.python.org/download/releases/2.7/] if you haven't done that already.
If you already have another version of node.js installed, `nvm` can be used to set node v10.20.1 as the active one:
18
+
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:
19
19
20
20
```
21
-
nvm use 10.20.1
21
+
nvm install 18.12.1
22
+
nvm use 18.12.1
22
23
```
23
24
24
-
nvm for Windows can be downloaded [here](https://github.com/coreybutler/nvm-windows/releases)
25
-
nvm for Linux can be downloaded here [here](https://github.com/nvm-sh/nvm/releases)
25
+
nvm for Windows can be downloaded [here](https://github.com/coreybutler/nvm-windows/releases).
26
26
27
-
After installing Python 2.7, make a copy of the executable `python.exe` found in `C:\Python27` with the name `python2.exe` so that there are 2 executables: `python.exe`and`python2.exe`. This is required otherwise the build script when running `npm install` in the steps below fails when it looks for these executables.
27
+
nvm for Linux can be installed using the following [instructions](https://github.com/nvm-sh/nvm#installing-and-updating).
28
28
29
-
If you don't want to make copies of the python executable, there's a workaround. The commands below will configure `npm` to use the same `python.exe` executable when it looks for `python` and `python2`:
29
+
#### 2. Ensure the minimum version of npm is v9.2.0
30
+
31
+
First, check your version of npm using `npm --version`. Install npm v9.2.0 only if your current version is below 9.2.0:
Furthermore, make sure the path `C:\Python27\` has been added to the `PATH` variable. In Windows, this can be tested as follows from the **PowerShell**:
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.
If you get MSBUILD, VS2017, or VC++ related errors, follow the steps below to install the missing dependencies:
59
+
If `npm install` succeeds, go to **Step 6**.
60
+
61
+
If you get errors related to MSBUILD, VS2017, or VC++ on Windows, follow the steps below to install the missing dependencies:
61
62
62
63
1. Download Visual Studio Professional 2017 (version 15.9) (Trial) setup from [here](https://my.visualstudio.com/Downloads).
63
64
2. When you run the setup, go to the **Individual components** tab, then use the search box at the top to select these components:
@@ -68,44 +69,39 @@ If you get MSBUILD, VS2017, or VC++ related errors, follow the steps below to in
68
69
Note that other components might get added automatically; do not remove them.
69
70
3. Click "Install", and then click on "Continue".
70
71
4. Wait for setup to finish installing all the components and dependencies.
71
-
5. Now run these commands in the EventStore.UI directory:
72
+
5. Now run these commands in the `EventStore.UI` directory:
72
73
73
74
```
74
75
npm clean-install
75
76
npm install
76
77
```
77
78
78
-
#### 4. Install [bower](http://bower.io/)
79
-
80
-
```
81
-
npm install -g bower
82
-
```
79
+
#### 6. Install all bower packages in the project
83
80
84
-
to install bower components:
85
81
```
86
82
bower install
87
83
```
88
84
89
-
If you get the error message *"bower.ps1 cannot be loaded because running scripts is disabled on this system"*, run the command below in **PowerShell**:
85
+
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**:
0 commit comments