Giter VIP home page Giter VIP logo

behat-google-place-autocomplete's Introduction

GooglePlaceAutocomplete

Mink extension for Google Place Autocomplete

Installing Development Pre-Requisites

Install Docker.

Login to with your docker.com account (so you can pull private images)

docker login

You will also want to ensure that ./bin is in your $PATH and is the highest priority. You can do so by adding the following to the end of the same profile mentioned above:

export PATH=./bin:$PATH

Installing The Project for Development

Clone the repository:

git clone [email protected]:Medology/behat-google-place-autocomplete.git
cd stdcheck.com
containers up

Note : The ./bin/containers executable is just a wrapper for docker-compose, and saves you from having to specify the project name and docker-compose.yml paths each time you want to work with the containers.

Update your hosts file:

echo -e "\n\
$(docker-machine ip $DOCKER_MACHINE_NAME) behatgoogleplaceautocomplete.local www.behatgoogleplaceautocomplete.local\n\
" | sudo tee -a /etc/hosts

Initialize the project:

init_project

You can now access the site at http://behatgoogleplaceautocomplete.local

Executing tests

The project is configured to the headless Chrome container by default.

If you wish to view the browser, you can use a VNC client to connect to the Chrome container. The password is "secret". For example, if you're environment is the Medology standard setup, you can use Safari and navigate to vnc://behatgoogleplaceautocomplete.local.

Once the browser is running, you can execute your Behat tests as follows:

behat

Tooling

In addition to the Docker server containers for running the site, the project also includes a set of command line tools (such as php, bower, composer, etc) located in the bin folder. These can be run from anywhere on your Mac and will execute as if they were installed locally on your machine.

These commands will either spin up temporary Docker containers to run your commands, or will connect to the running Docker server containers that you started with docker-compose.

These command line tools have no requirements other than having Docker toolbox installed.

Note: If you are using the zsh terminal, you will need to unset the cdablevars option, otherwise you will be unable to execute any of the binaries that match usernames on your system, such as mysql:

.zshrc

# Options
unsetopt cdablevars

behat-google-place-autocomplete's People

Contributors

redenchilada avatar joshmedeski avatar aserv92 avatar elvisnji avatar goodevilgenius avatar chekote avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.