Skip to content
This repository has been archived by the owner on Feb 28, 2024. It is now read-only.

Sample Compojure app with deployment to Google App Engine

Notifications You must be signed in to change notification settings

circleci/compojure-appengine-sample

Repository files navigation

Sample Compojure app with deployment to App Engine

CircleCI

This sample Clojure app uses Compojure framework and gets deployed to Google App Engine via CircleCI Workflows.

Running the app locally

You can start the app locally by running docker-compose up -d in the repository root. The app will be available on the port 3000.

Pre-requisites

In your Google Cloud account, you will need to create a new project for this app.

This example uses App Engine flexible environment, so within the project you will also need a service account with the following permissions:

  • App Engine Admin
  • App Engine flexible environment Service Agent

To make sure that your workflow can authenticate correctly during the deployment job, please add the JSON of your service account key as an encrypted environment variable with the name GCLOUD_KEY_JSON in your CircleCI project.

License

Copyright © 2017 Circle Internet Services