Skip to content

jakozaur/browsertest

Repository files navigation

browsertest

Setup

  1. Install Meteor.
  2. Install Docker Toolbox.
  3. Clone this repository: git clone [email protected]:jakozaur/browsertest.git.
  4. Install Virtualbox (v4.3.30 works)

Docker setup

In new terminal tab: (any folder)

  1. open Docker QuickStart Terminal
  2. docker pull jakozaur/docker-selenium:v1.3
  3. docker run -p 4444:4444 -p 5555:5555 -d jakozaur/docker-selenium:v1.3
  4. Verify with docker logs [id-from-previous-step]
  5. echo $DOCKER_CERT_PATH
  6. echo $DOCKER_HOST
  7. 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"
  }
}

Docker setup (through deprecated boot2docker)

In new terminal tab: (any folder)

  1. boot2docker init
  2. boot2docker up
  3. 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"
  }
}

  1. boot2docker ssh
  2. docker pull jakozaur/docker-selenium:v1.3
  3. docker run -p 4444:4444 -p 5555:5555 -d jakozaur/docker-selenium:v1.3
  4. Verify with docker logs [id-from-previous-step]

Run the project

meteor --settings settings.json

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •