Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chibat/heroku-buildpack-deno
Heroku Buildpack for Deno
https://github.com/chibat/heroku-buildpack-deno
cloud-foundry cloudfoundry deno heroku heroku-buildpack typescript
Last synced: about 2 months ago
JSON representation
Heroku Buildpack for Deno
- Host: GitHub
- URL: https://github.com/chibat/heroku-buildpack-deno
- Owner: chibat
- License: mit
- Created: 2019-07-17T16:19:10.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-06T10:09:29.000Z (over 3 years ago)
- Last Synced: 2023-05-28T08:35:14.804Z (over 1 year ago)
- Topics: cloud-foundry, cloudfoundry, deno, heroku, heroku-buildpack, typescript
- Language: Shell
- Homepage:
- Size: 10.6 MB
- Stars: 75
- Watchers: 5
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Heroku Buildpack for Deno
This is the Heroku buildpack for Deno apps.
Web processes must bind to `$PORT`, and only the HTTP protocol is permitted for incoming connections.
The buildpack parse `Procfile` and download all dependencies at push time.The downloaded files are cached.
## Getting Started
https://github.com/chibat/heroku-deno-getting-started
## Specify a Deno Runtime
To specify your Deno version, you also need a `runtime.txt` file - unless you are using the latest Deno runtime version.
```
$ cat runtime.txt
v1.8.2
```
## Customizing the build processIf your app has a build step that you’d like to run when you deploy, write the required processing in `heroku_build.ts`.
You may be able to avoid the following error by building in advance.
```
Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
```[Example](https://github.com/chibat/heroku-deno-customized-build-example)