Code Monkey home page Code Monkey logo

claserver's Introduction

Contributor License Agreement Server

This server is designed for contributors to electronically sign the agreement. When pull requests come in, the server sets a status depending on whether or not the Github user has signed.

Setting up the Github webhook

Building and deploying

  • To run locally: mvn app engine:devserver. However, you will need to set up an oauth client and redirect, etc to work.
  • To deploy: mvn appengine:update

Keys

In development, you can populate the keys in development.json.

In production, you need to set the keys in the database as following:

There are a few keys that need to be set in the database. They can be set using the [google developer console] (https://console.developers.google.com/). The entity name is "Secrets" and each of the following has a single property named "key".

  • github-webhook-secret - the secret to validate requests coming in from the webhook
  • github-user-token - the token for the github user that updates the status of the pull request
  • github-oauth-client-id - the github oauth client id
  • github-oauth-client-secret - the github oauth client secret

Rendering the form

There is a class called RenderForm.java that can be used to generate the static html for the main site.

License

Copyright 2013 Open Whisper Systems

Licensed under the AGPLv3: https://www.gnu.org/licenses/agpl-3.0.html

claserver's People

Contributors

kmonkeyjam avatar moxie0 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.