create a procfile heroku code example
Example 1: heroku procfile laravel
git init
echo 'web: vendor/bin/heroku-php-apache2 public/' >> Procfile
git add .
git commit -m 'init'
heroku create [app-name]
heroku config:set APP_KEY=$(php artisan key:generate --show)
git push heroku
Example 2: heroku django procfile
web: gunicorn myproject.wsgi
Example 3: Procfile
web: gunicorn app:app
^ | ^
gunicorn as | main app name
server |