circleci / compojure-appengine-sample

Sample Compojure app with deployment to Google App Engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Sample Compojure app with deployment to Google App Engine


Languages

Language:Clojure 85.2%Language:Shell 8.3%Language:Dockerfile 6.5%