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
The currently required Ruby version is in the root folder inside the [.ruby-version](https://github.com/archivesspace/e2e-tests/blob/master/.ruby-version) file.
8
+
9
+
It is strongly recommended to use a Ruby version manager to be able to switch to any version.
10
+
The most popular version manager available for `Linux` and `macOS`, is `rbenv`.
11
+
You can find the installation guide here [https://github.com/rbenv/rbenv#readme](https://github.com/rbenv/rbenv#readme).
12
+
If you are on `Windows`, a separate `rbenv` installer exists here: [https://github.com/RubyMetric/rbenv-for-windows#readme](https://github.com/RubyMetric/rbenv-for-windows#readme).
13
+
If you wish to use a different manager or installation method, you can choose one of the following: [https://www.ruby-lang.org/en/documentation/installation/](https://www.ruby-lang.org/en/documentation/installation/)
14
+
15
+
16
+
#### How to install
17
+
18
+
Clone this repository on your machine, navigate to the root application folder, and run:
19
+
20
+
21
+
```sh
22
+
rbenv install
23
+
```
24
+
25
+
```sh
26
+
gem install bundler
27
+
```
28
+
29
+
```sh
30
+
bundle install
31
+
```
32
+
33
+
### How to run the tests
34
+
35
+
#### Run on the remote host
36
+
To run the tests on the `https://e2e.archivesspace.org`, run:
37
+
```
38
+
bundle exec cucumber
39
+
```
40
+
41
+
#### Run on localhost
42
+
To run the tests on localhost, you have to setup the application with:
43
+
44
+
```
45
+
docker compose -f docker-compose.yml up
46
+
```
47
+
48
+
Wait until everything is up and running.
49
+
You can check if the staff interface is running on `http://localhost:8080`.
50
+
51
+
Then, to run the tests, open another terminal, and run:
0 commit comments