Skip to content
Thomas Y edited this page Nov 28, 2018 · 5 revisions

Welcome to the RealSelf git-gateway wiki!

Develop, Build and Run git-gateway

  1. Follow instructions 1 - 10 in previous "Running git-gateway" section of the README.md file

  2. Run these commands once:

    docker build -t netlify/git-gateway:latest .
    docker run --rm --env-file my.env --net localdev -p 127.0.0.1:8087:8087 --expose 8087 -ti -v $PWD:/go/src/github.com/netlify/git-gateway --entrypoint '/bin/sh' --user root netlify/git-gateway:latest
    cd /go/src/github.com/netlify/git-gateway
    make deps
    
  3. Run these commands after edits:

    make build && ./git-gateway
    
  4. <ctrl> + c to stop

Clone this wiki locally