Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 902 Bytes

contributing.adoc

File metadata and controls

49 lines (32 loc) · 902 Bytes

Contributing & Development

To build Selenoid:

  1. Install Golang 1.12 and above.

  2. Setup $GOPATH properly

  3. Clone Selenoid source:

    $ git clone https://github.com/aerokube/selenoid.git
  4. Go to project directory:

    $ cd selenoid
  5. Build source:

    $ go build

    This will also fetch build dependencies.

  6. Run Selenoid:

    $ ./selenoid --help
Tip

To build Docker container type:

$ mkdir -p dist
$ GOOS=linux GOARCH=amd64 CGO_ENABLED=0 go build -o dist/selenoid_linux_amd64
$ docker buildx build --pull --platform linux/amd64 -t selenoid:latest .

Documentation

Locally can be generated with:

$ docker run --rm -v ./docs/:/documents/      \
    asciidoctor/docker-asciidoctor                \
    asciidoctor -D /documents/output/ index.adoc