-
Create a project on the Google Developer Console
-
Once you are on the project page, in the side menu select APIs & auth > Credentials.
- Click Create a New Client ID
- Add https://localhost/redirect to the AUTHORIZED REDIRECT URI section
- Click Create Client ID
-
Create a
config
file based onconfig.sample
:$ cp config.sample config
-
Copy the Client ID, Client Secret, values from the Google Developers Console into the
config
file you created above.Edit other settings in
config
, such as the hostname. These are obvious. -
In the Google Developers Console, you must have a
Redirect URIs
toBaseUri
/ct/redirect. For example, ifBaseUri = https://localhost
I would addhttps://localhost/ct/redirect
.
You will need to modify the initialize
function in server/config.rkt
to construct your initial class.
You should now be able to run the service in a docker container:
make run