heroku-deno-tsconfig-importmap-example

October 27, 2020 ยท View on GitHub

Buildpack

https://github.com/chibat/heroku-buildpack-deno

Running Locally

Make sure you have Deno and the Heroku CLI installed.

$ git clone https://github.com/chibat/heroku-deno-tsconfig-importmap-example.git
$ cd heroku-deno-tsconfig-importmap-example
$ deno run --allow-net=:8080 --config tsconfig.json --unstable --import-map import_map.json app.ts --port=8080

Your app should now be running on localhost:8080.

Deploying to Heroku

$ heroku create --buildpack https://github.com/chibat/heroku-buildpack-deno.git
$ git push heroku master
$ heroku open