Inside of this procfile, you can define what our application runs on dynos.
Dynos are basically just a little container within Heroku.
```
web: vendor/bin/heroku-php-apache2 public/
```
To create heroku application we can run:
```
heroku create
```
This will create a new APP for us, this just gives us a random name.
To push this Laravel app to Heroku. we can run:
```
git push heroku master
```
We can also add environment variables directly from the command line using
```
heroku config add:
```
e.g.
```
heroku config add:APP_NAME=Laravel
```
#DeployLaravelHeroku #Procfile
Тэги:
#heroku #herku_deployment #laravel_deployment_to_heroku #heroku_cli