Deploy to heroku
Create your app manually at dashboard.heroku.com or type:
heroku create your-app
If you've already created your app, connect it:
heroku git:remote -a your-app
.NET Core is not officially supported on Heroku at present. Third party buildpacks are one option for extending the platform, for this project we are using: https://elements.heroku.com/buildpacks/jincod/dotnetcore-buildpack
heroku buildpacks:add heroku/nodejs
heroku buildpacks:add jincod/dotnetcore
heroku config:set ASPNETCORE_ENVIRONMENT=Production
You can change environment variables directly from the heroku app settings:

You can directly push to the heroku repository:
git push heroku master

Herokuapp deployed
Or better yet, go to https://dashboard.heroku.com/apps/YOUR-APP/deploy/github and enable Automatic deploys so you only deploy when you type:
git push origin master
Open your app yourappname.herokuapp.com and ensure everything is working.
If you set your LIVE Stripe API Keys and LIVE products, keep in mind that you will be charged.
Last modified 2yr ago