Skip to content

Commit 2101f51

Browse files
author
Alexandru Meterez
committed
Update README
1 parent 6b695bf commit 2101f51

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,15 @@ If you just want to clone and run the software, we have provided a Dockerfile. T
2020
git clone https://github.com/adobe/frontend-regression-validator.git
2121
cd frontend-regression-validator/docker
2222
docker build -t fred .
23-
docker run -p 5000:5000 fred
23+
docker run -p 5000:5000 -m 8g --memory-reservation=8g --oom-kill-disable=True --memory-swap 8G fred
2424
```
25+
If you still encounter issues with out of memory errors, allocate more memory from the UI Docker app. Simply click the Docker icon in your toolbar, go to `Preferences`-`Advanced` and then pull the slider to around `8GB`.
2526

2627
## Setup
2728

2829
### Dependencies and how to run
2930
* Packages in requierments.txt - installed via pip
3031

31-
* [Java JDK](https://www.oracle.com/technetwork/java/javase/downloads/) for starting the proxy server that collects network stats
32-
33-
* [chromedriver](https://chromedriver.chromium.org) (use same release version as chrome)
34-
3532
In order to use this software, simply run:
3633
```
3734
git clone https://github.com/adobe/frontend-regression-validator.git
@@ -41,7 +38,6 @@ cd inference/
4138
cat model_files.bz2.parta* > model_files.bz2
4239
tar xjf model_files.bz2
4340
cd ..
44-
export CHROMEDRIVER_PATH=/path/to/chromedriver
4541
python3 run.py
4642
```
4743
This will launch a Flask API server that answers to requests. In order to view the API readme, follow this link https://github.com/adobe/frontend-regression-validator/blob/master/fred/README.md.

0 commit comments

Comments
 (0)