forked from netlify/git-gateway
-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Thomas Y edited this page Nov 28, 2018
·
5 revisions
The general instructions of running git-gateway can be found in README.md file of the repo.
There are a few RealSelf specifics.
After completing the general instructions, do the following
- stop the docker instance (<ctrl> + c)
- update
PORT
value inmy.env
to8087
- update the Okta app redirect-url to point to
https://localhost:8087/admin
etc - a more detail instructions of setting up a Okta sandbox can be found on JIRA: ORGANIC-468. If the ticket is done, you might able to skip the steps.
-
my-netlify-cms
in the general instructions maps tohttps://github.com/RealSelf/content-cms
for us - See https://github.com/RealSelf/content-cms/pull/5 for sign-in integration
- run
git-gateway
with this command instead:docker run --rm --env-file my.env --net localdev -p 127.0.0.1:8087:8087 --expose 8087 -ti --name netlify-git-gateway "netlify/git-gateway:latest"
-
Follow instructions Running git-gateway Locally above
-
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
-
Run these commands after edits:
make build && ./git-gateway
-
<ctrl> + c
to stop