Application to manage pools of locks. Read more about pools and locks here
- Create a Github OAuth App:
- Homepage URL must be root of whatever domain you use
- Authorization callback URL must be
https://YOUR-DOMAIN/auth/page/github/callback
- Create a file (say
el-patron-secrets.yml
) with these values:elPatron: authorizedTeam: <Github ORG/Team Name> # Members of this team will have access to El Patrón githubClientId: <OAuth client ID> githubClientSecret: <OAuth client secret> remote: [email protected]:<OWNER>/<LOCKS_REPO> privateKey: <private key with rights to push to locks repo>
- Install using helm
helm install deploy/kubernetes/helm/el-patron --namespace el-patron -f el-patron-secrets.yml
- Create a Github OAuth App:
- Homepage URL must be root of whatever domain you use
- Authorization callback URL must be
https://YOUR-DOMAIN/auth/page/github/callback
- Copy
manifest.yml.exmaple
tomanifest.yml
- Fill in all the values in
env
inmanifest.yml
cf push <name>
- Install stack
- Install elm
- Install create-elm-app
- Clone the code
- Build elm code
cd el-patron/elm elm app build cd ..
- Build haskell code
stack build
- Execute
stack exec el-patron \ --remote [email protected]:akshaymankar/test-locks \ --private-key /ssh/id_rsa \ --github-client-secret <GITHUB-CLIENT-SECRET> \ --github-client-id <GITHUB-CLIENT_ID> \ -t 'ORG/TEAM' \ -e ./elm/build