Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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 process

If 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)