- Install Meteor.
- Install Docker Toolbox.
- Clone this repository:
git clone [email protected]:jakozaur/browsertest.git
. - Install Virtualbox (v4.3.30 works)
In new terminal tab: (any folder)
- open
Docker QuickStart Terminal
docker pull jakozaur/docker-selenium:v1.3
docker run -p 4444:4444 -p 5555:5555 -d jakozaur/docker-selenium:v1.3
- Verify with
docker logs [id-from-previous-step]
echo $DOCKER_CERT_PATH
echo $DOCKER_HOST
- Use above values to fill in
browsertest/settings.json
:
{
"docker": {
"protocol": "https",
"host": "HOST",
"port": 2376,
"certPath": "CERT_PATH"
},
"meteor": {
"localUrl": "http://192.168.59.3:3000"
}
}
In new terminal tab: (any folder)
boot2docker init
boot2docker up
- Create
browsertest/settings.json
with settings based on previous step output
{
"docker": {
"protocol": "https",
"host": "192.168.59.103",
"port": 2376,
"certPath": "/Users/jacek/.boot2docker/certs/boot2docker-vm/"
},
"meteor": {
"localUrl": "http://192.168.59.3:3000"
}
}
boot2docker ssh
docker pull jakozaur/docker-selenium:v1.3
docker run -p 4444:4444 -p 5555:5555 -d jakozaur/docker-selenium:v1.3
- Verify with
docker logs [id-from-previous-step]
meteor --settings settings.json