Synchronize dotfiles on all your computers.
Tony Grosinger
643d4121c0
Fixes #3. Use the "Origin" header to specify what domain the request is coming from. If that domain is approved (https?://(localhost|dotdeploy.works)) it will include that origin in the response headers. |
||
---|---|---|
resources | ||
src/dotdeploy | ||
test/dotdeploy | ||
.gitignore | ||
LICENSE | ||
project.clj | ||
README.md |
DotDeploy
This website is the server backend for the DotDeploy frontend. You can learn more about DotDeploy by visiting the homepage or learn more about this API by exploring it with Swagger
Usage
- Visit the Google Developers Console and either create a project or enter an existing on.
- In your new project, click on "APIs" in the left side bar and ensure that
Google+ API
andGoogle+ Domains API
are enabled - Click "Credentials" on the left side bar and create a new Client ID. Ensure that you enter your URIs in the "Redirect URIs" and "Javascript Origins" section. Write down the "Client ID" value for later.
- Create a new "Public API access" key, giving it access from your IP address. Write down your API key for later.
- Create a new file in the root of this project called
client-keys.json
and insert the template found below with the values from the previous two steps filled in. - Launch the application with
lein ring server-headless
followed by an optional port number to start on.
{
"client-id": "your-id-here.apps.googleusercontent.com",
"api-key": "your-key-here"
}
License
Copyright © 2014 Tony Grosinger, Spencer Thomas, Ansel Santosa
Distributed under the Apache 2 License.