Skip to content

Commit 210740f

Browse files
authored
Remove duplicated files and updating READMEs (#637)
* vncview file is not used anywhere * Ignoring generated entry_point.sh files during build * Updating single READMEs with current links and usage.
1 parent 0f4abff commit 210740f

File tree

30 files changed

+88
-322
lines changed

30 files changed

+88
-322
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ node_modules/
77
# Vim swap files.
88
*.swp
99

10-
docker-selenium.iml
10+
# Ignoring the generated entry_point.sh files in different folders
11+
Node*Debug/entry_point.sh
12+
StandaloneC*/entry_point.sh
13+
StandaloneF*/entry_point.sh
1114

1215
# Created by https://www.gitignore.io/api/virtualenv
1316

Base/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ _Note: Please make sure to search the group before asking for something. Your qu
2727

2828
### Chat Room
2929

30-
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/).
30+
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/) or [SeleniumHQ Slack](https://seleniumhq.herokuapp.com/)
3131

3232
### Issues
3333

34-
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://code.google.com/p/selenium/issues/list).
34+
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://github.com/SeleniumHQ/selenium/issues).
3535

3636
## Contributing
3737

Hub/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

Hub/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ The Hub receives a test to be executed along with information on which browser a
99
## How to use this image
1010

1111
```
12-
$ docker run -d -P --name selenium-hub selenium/hub
12+
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub
1313
```
1414

1515
Note: You can optionally override default configuration settings using environment variables.
1616
See the [Hub's Dockerfile](Dockerfile) to view the list of variables and their default values.
1717

1818
```
19-
$ docker run -d -P --name selenium-hub -e GRID_TIMEOUT=10 selenium/hub
19+
$ docker run -d -p 4444:4444 --name selenium-hub -e GRID_TIMEOUT=10 selenium/hub
2020
```
2121

2222

2323
Once the hub is up and running will want to launch nodes that can run tests. You can run as many nodes as you wish.
2424

2525
```
26-
$ docker run -d --link selenium-hub:hub selenium/node-chrome
27-
$ docker run -d --link selenium-hub:hub selenium/node-firefox
26+
$ docker run -d --link selenium-hub:hub -v /dev/shm:/dev/shm selenium/node-chrome
27+
$ docker run -d --link selenium-hub:hub -v /dev/shm:/dev/shm selenium/node-firefox
2828
```
2929

3030
## What is Selenium?
@@ -48,11 +48,11 @@ _Note: Please make sure to search the group before asking for something. Your qu
4848

4949
### Chat Room
5050

51-
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/).
51+
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/) or [SeleniumHQ Slack](https://seleniumhq.herokuapp.com/)
5252

5353
### Issues
5454

55-
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://code.google.com/p/selenium/issues/list).
55+
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://github.com/SeleniumHQ/selenium/issues).
5656

5757
## Contributing
5858

NodeBase/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

NodeBase/README.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,6 @@ _This image is not meant to be run directly!_ It serves as the base image used f
66

77
[`selenium/node-base` Dockerfile](https://github.com/SeleniumHQ/docker-selenium/blob/master/NodeBase/Dockerfile)
88

9-
## How to use this image
10-
11-
First, you will need a Selenium Grid Hub that the Node will connect to.
12-
13-
```
14-
$ docker run -d -P --name selenium-hub selenium/hub
15-
```
16-
17-
Once the hub is up and running will want to launch nodes that can run tests. You can run as many nodes as you wish.
18-
19-
```
20-
$ docker run -d --link selenium-hub:hub selenium/node-firefox
21-
```
22-
239
## What is Selenium?
2410
_Selenium automates browsers._ That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well.
2511

@@ -41,11 +27,11 @@ _Note: Please make sure to search the group before asking for something. Your qu
4127

4228
### Chat Room
4329

44-
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/).
30+
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/) or [SeleniumHQ Slack](https://seleniumhq.herokuapp.com/)
4531

4632
### Issues
4733

48-
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://code.google.com/p/selenium/issues/list).
34+
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://github.com/SeleniumHQ/selenium/issues).
4935

5036
## Contributing
5137

NodeChrome/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

NodeChrome/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ Selenium Node configured to run Google Chrome.
1111
First, you will need a Selenium Grid Hub that the Node will connect to.
1212

1313
```
14-
$ docker run -d -P --name selenium-hub selenium/hub
14+
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub
1515
```
1616

1717
Once the hub is up and running will want to launch nodes that can run tests. You can run as many nodes as you wish.
1818

1919
```
20-
$ docker run -d --link selenium-hub:hub selenium/node-chrome
20+
$ docker run -d --link selenium-hub:hub -v /dev/shm:/dev/shm selenium/node-chrome
2121
```
2222

2323
## What is Selenium?
@@ -41,11 +41,11 @@ _Note: Please make sure to search the group before asking for something. Your qu
4141

4242
### Chat Room
4343

44-
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/).
44+
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/) or [SeleniumHQ Slack](https://seleniumhq.herokuapp.com/)
4545

4646
### Issues
4747

48-
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://code.google.com/p/selenium/issues/list).
48+
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://github.com/SeleniumHQ/selenium/issues).
4949

5050
## Contributing
5151

NodeChromeDebug/.gitignore

Lines changed: 0 additions & 2 deletions
This file was deleted.

NodeChromeDebug/README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,24 +11,23 @@ _This image is only intended for development purposes!_ Runs a Selenium Grid Nod
1111
First, you will need a Selenium Grid Hub that the Node will connect to.
1212

1313
```
14-
$ docker run -d -P --name selenium-hub selenium/hub
14+
$ docker run -d -p 4444:4444 --name selenium-hub selenium/hub
1515
```
1616

1717
Once the hub is up and running will want to launch nodes that can run tests.
1818

1919
```
20-
$ docker run -d -P --link selenium-hub:hub selenium/node-chrome-debug
20+
$ docker run -d -p 5900:5900 --link selenium-hub:hub -v /dev/shm:/dev/shm selenium/node-chrome-debug
2121
```
2222

2323
You can acquire the port that the VNC server is exposed to by running:
24-
24+
(Assuming that we mapped the ports like this: 49338:5900)
2525
``` bash
2626
$ docker port <container-name|container-id> 5900
2727
#=> 0.0.0.0:49338
2828
```
2929

30-
Using RealVNC you can look in view only mode, to avoid accidentally messing up your tests, utilizing our [vncview script](https://github.com/SeleniumHQ/docker-selenium/blob/master/bin/vncview).
31-
30+
In case you have [RealVNC](https://www.realvnc.com/) binary `vnc` in your path, you can always take a look, view only to avoid messing around your tests with an unintended mouse click or keyboard interrupt:
3231
``` bash
3332
$ ./bin/vncview 127.0.0.1:49338
3433
```
@@ -64,11 +63,11 @@ _Note: Please make sure to search the group before asking for something. Your qu
6463

6564
### Chat Room
6665

67-
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/).
66+
The best place to ask for help is the user group (because they also keep the information accessible for others to read in the future). However, if you have a very important (or too simple) issue that needs a solution ASAP, you can always enter the IRC chat room. You might just find someone ready to help on `#selenium` at [Freenode](https://freenode.net/) or [SeleniumHQ Slack](https://seleniumhq.herokuapp.com/)
6867

6968
### Issues
7069

71-
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://code.google.com/p/selenium/issues/list).
70+
If you have any problems with or questions about this image, please contact us through a [Github issue](https://github.com/SeleniumHQ/docker-selenium/issues). If you have any problems with or questions about Selenium, please contact us through Selenium's [Bug Tracker](https://github.com/SeleniumHQ/selenium/issues).
7271

7372
## Contributing
7473

0 commit comments

Comments
 (0)