Wiplock is a tiny webhook application that prevents mistakenly merging in progress pull requests
You need to grab your OAuth Application Client ID and Secret.
https://github.com/settings/applications/new
Just hit
or
git clone git://github.com/ngs/wiplock.git
cd wiplock.git
heroku create
heroku addons:create heroku-redis:hobby-dev
heroku config:set \
GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID} \
GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET} \
SECRET=${SECRET}
git push heroku master
heroku open
docker pull redis
docker pull atsnngs/wiplock
docker run --name wiplock-redis -d redis
docker run --name wiplock -p 8000:8000 -d --rm \
--link wiplock-redis:redis \
-e GITHUB_CLIENT_ID=${GITHUB_CLIENT_ID} \
-e GITHUB_CLIENT_SECRET=${GITHUB_CLIENT_SECRET} \
-e SECRET=${SECRET} \
-e REDIS_URL="redis://redis:6379" \
atsnngs/wiplock
open http://localhost:8000
Copyright © 2016 Atushi Nagase. All rights reserved.