{"id":13688589,"url":"https://github.com/srid/heroku-buildpack-elm","last_synced_at":"2025-03-20T23:31:03.251Z","repository":{"id":33739923,"uuid":"37394593","full_name":"srid/heroku-buildpack-elm","owner":"srid","description":"Heroku buildpack for deploying Elm apps (NEEDS MAINTAINER)","archived":false,"fork":false,"pushed_at":"2017-07-16T15:41:51.000Z","size":42,"stargazers_count":38,"open_issues_count":5,"forks_count":29,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T18:48:45.877Z","etag":null,"topics":["elm","heroku-buildpack"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-14T01:28:23.000Z","updated_at":"2021-02-09T01:31:01.000Z","dependencies_parsed_at":"2022-08-26T12:11:56.601Z","dependency_job_id":null,"html_url":"https://github.com/srid/heroku-buildpack-elm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fheroku-buildpack-elm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fheroku-buildpack-elm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fheroku-buildpack-elm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srid%2Fheroku-buildpack-elm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srid","download_url":"https://codeload.github.com/srid/heroku-buildpack-elm/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244710584,"owners_count":20497269,"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","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":["elm","heroku-buildpack"],"created_at":"2024-08-02T15:01:17.127Z","updated_at":"2025-03-20T23:31:02.981Z","avatar_url":"https://github.com/srid.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Heroku buildpack for Elm apps\n\nCheck out the example app [elm-todomvc](https://github.com/srid/elm-todomvc). In brief:\n\n- Add an [`app.json`](https://github.com/srid/elm-todomvc/blob/heroku/app.json) file\n  - Ensure that a second buildpack provides the web server (elm-todomvc uses the static buildpack)\n- Specify the value of `ELM_COMPILE` (command used to compile your Elm sources) in `app.json`\n- Add the elm buildpack: `heroku buildpacks:add https://github.com/srid/heroku-buildpack-elm`\n  - Add static buildpack if needed: `heroku buildpacks:add https://github.com/hone/heroku-buildpack-static`\n- Deploy! \n  - e.g. `git commit -am \"empty\" \u0026\u0026 git push heroku master \u0026\u0026 heroku ps:scale web=1`\n\n## Customizing\n\n### Elm Version\n\nThe buildpack aims to use the latest version of Elm by default. To specify an alternative Elm\nversion, create this file in your repo:\n\n```\n$ cat .buildpack.env\nexport ELM_VERSION=0.15\n^D\n```\n\n### Build Cache\n \nBy default, this buildpack will save and reuse intermediate build objects between deploys. If you want to perform a clean build on every deploy, you may specify that in your .buildpack.env file:\n\n```\n$ cat .buildpack.env\nexport CACHE_BUILD_OBJECTS=false\n^D\n```\n\n## HACKING\n\n### Generating and uploading binaries\n\nBinaries are generated using docker, and uploaded to s3.\n\n```\n# To generate docker image containing the binaries\nmake binaries\n\n# To upload to s3\naws configure  # creates ~/.aws/...\nmake upload\n```\n\n### Upgrading to newer Elm version\n\n* Modify the `ELM_VERSION` env var in Dockerfile\n* `make binaries upload`\n* Modify the `ELM_VERSION` env var in `bin/compile`\n* Update CHANGELOG.md\n* git push\n\n## Questions?\n\nFeel free to ask in Github Issues.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrid%2Fheroku-buildpack-elm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrid%2Fheroku-buildpack-elm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrid%2Fheroku-buildpack-elm/lists"}