{"id":13507590,"url":"https://github.com/nirvana/belvedere","last_synced_at":"2025-10-21T15:34:03.657Z","repository":{"id":30953844,"uuid":"34511955","full_name":"nirvana/belvedere","owner":"nirvana","description":"An example of CircleCI integration with Elixir","archived":false,"fork":false,"pushed_at":"2015-07-16T01:44:06.000Z","size":187,"stargazers_count":18,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-01T06:19:20.043Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nirvana.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-24T10:13:41.000Z","updated_at":"2022-08-22T19:04:10.000Z","dependencies_parsed_at":"2022-09-17T04:50:58.064Z","dependency_job_id":null,"html_url":"https://github.com/nirvana/belvedere","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/nirvana/belvedere","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirvana%2Fbelvedere","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirvana%2Fbelvedere/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirvana%2Fbelvedere/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirvana%2Fbelvedere/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nirvana","download_url":"https://codeload.github.com/nirvana/belvedere/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nirvana%2Fbelvedere/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280287268,"owners_count":26304908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-21T02:00:06.614Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T02:00:36.655Z","updated_at":"2025-10-21T15:34:03.641Z","avatar_url":"https://github.com/nirvana.png","language":"Elixir","funding_links":[],"categories":["Code Analysis"],"sub_categories":[],"readme":"# belvedere\n[![Circle CI](https://circleci.com/gh/realmlabs/belvedere.svg?style=shield)](https://circleci.com/gh/realmlabs/belvedere)\n\nThis project exists as an example for continuous integration of Elixir on CircleCI.  \nIt also works as a bit of a boilerplate project.\n\n## Features:\n  - Builds your project as a docker container, and automatically pushes it to dockerhub if tests pass\n  - Runs Dialyzer on your project\n  - Caches build environment and container layers for quick build times.\n\n### HowTo\nGetting this going in your project:\n\n  - Copy the scripts/ci folder, circle.yml \u0026 Dockerfile to your project.\n  - add ```{:earmark, \"~\u003e 0.1\", only: :dev}, {:ex_doc, \"~\u003e 0.7\", only: :dev}``` to mix.exs deps\n  - Update the Erlang and Elixir versions to the latest in the Dockerfile\n  - Set CIRCLE_PROJECT_REPONAME in the Dockerfile to your project's name\n  - Make changes to the Docker File as appropriate for your project\n  - Specify the deps and apps you care about for dialyzer in your mix file. (see our example)\n  - Add credentials for the Docker.com repo to your CircleCI account (optional for deployment)\n    https://circleci.com/docs/docker\n  - Add the repo to CircleCI so that the webhook is installed\n\n###Deploying to Docker Hub\n\n  This example also deploys the built image to Docker Hub after successfully building and testing. See the `deployment` section of [circle.yml](circle.yml) for details on how this is done. Note that three environment variables need to be set on CircleCI for the deployment to work:\n\n  * DOCKER_EMAIL - The email address associated with the user with push access to the Docker Hub repository\n  * DOCKER_USER - Docker Hub username\n  * DOCKER_PASS - Docker Hub password (these are all stored encrypted on CircleCI, and you can create a deployment user with limited permission on Docker Hub if you like)\n\n  Also note that the Docker Hub repository name and Docker registry endpoint are hard-coded into [circle.yml](circle.yml) and [.dockercfg.template](.dockercfg.template) respectively and would need to be changed to deploy to a different repository or registry.\n\n###Publish to Hex\n\n  - Pull your docker image and run it in a container. e.g. \n    ```docker pull nirvana/belvedere``` \n    ```docker run -i -t CONTAINER_ID```\n  - Authorize your hex user with ```mix hex.user auth```\n  - Publish the package with ```mix hex.publish```\n  - Publish the docs with ```mix hex.docs```\n\n  ##See also\n  * [CircleCI Home](https://circleci.com)\n  * [The CircleCI Docker docs](https://circleci.com/docs/docker)\n  * [The Docker userguide](http://docs.docker.com/userguide/)\n  * [Docker Hub](https://hub.docker.com/)  \n  * [Hex.docs](https://hex.pm/docs/tasks#hex_docs)\n  * [ExDoc](https://github.com/elixir-lang/ex_doc)\n  * [Hex.publish](https://hex.pm/docs/tasks#hex_publish)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnirvana%2Fbelvedere","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnirvana%2Fbelvedere","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnirvana%2Fbelvedere/lists"}