removing .env from .gitignore file
# to write Procfile
echo web: vendor/bin/heroku-php-apache2 public/ > Procfile
# to create heroku project
heroku create
# to set heroku app config
heroku config:set APP_KEY=$(php artisan --no-ansi key:generate --show)