andrewyakonyuk / Vault.App

http://vault-project.herokuapp.com/
0 stars 1 forks source link

Heroku #16

Open andrewyakonyuk opened 8 years ago

andrewyakonyuk commented 8 years ago

Since the (non) official heroku buildpack is very experimental, I use the fork of this buildpack where fixed a few critical errors.

The source code contain multiple project.json files, so needed to use .deployment file. Something like that:

[config] project = Vault.Web

andrewyakonyuk commented 8 years ago

Heroku tips and hacks

Some interesting points:

logs

heroku logs -t - watch the logs in real time

This is the quickest and simplest way to see your live logs. You can also filter the logs by source (e.g. -s heroku) or process (e.g. -p web).

TIP Press control-C to exit logs when you use the -t flag.

Heroku Scheduler

Heroku Scheduler - designed for quick tasks that need to be run at intervals (every 10 minutes, every hour or every day). This addon is free but does contribute to your dyno hours.

andrewyakonyuk commented 7 years ago

Running ASP.NET Core in Heroku

Currently there are 2 options to deploy an app into Heroku's containers (also called dynos):