For Gitgit --v

PHP

php -v

Composer

composer -v
heroku -v
heroku login
composer create-project laravel/laravel web-app
cd web-app
php artisan serve
git init
git add .
git commit -m "initial commit"
git remote add origin https://github.com/yourusername/deploying-laravel-app-to-heroku.git
git push origin master
touch Procfile
sudo nano Procfile
web: vendor/bin/heroku-php-apache2 public/
git add .
git commit -m "added Procfile"
git push origin master
heroku create
Creating app... done, ⬢ new-app-name
https://new-app-name.herokuapp.com/ | https://git.heroku.com/new-app-name.git
php artisan key:generate --show
heroku config:set APP_KEY= app_key
git push heroku master

--

--

--

Just another Software Developer. Falling in love with JavaScript sprinkle in Java and add a handful of Docker, Kubernetes and AWS. Perfect recipe.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

From parsimmon to nom — playing with parser combinators (Typescript → Rust)

Defining ‘Agile’ with Iwona Winiarska | Automation Logic

CS373 Spring 2021: Tim Nguyen

Boost Pools and Swap on Vegaswap: How to stake and swap

The Results Are in: WSO2 Named a Leader in the “API Management Solutions, Q3 2020” Report

User Session Management In Xamarin Forms

MySQL down but it is running as mysqld_safe [MariaDB]

MySQL down but it is running as mysqld_safe [MariaDB]

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Victor Mwenda

Victor Mwenda

Just another Software Developer. Falling in love with JavaScript sprinkle in Java and add a handful of Docker, Kubernetes and AWS. Perfect recipe.

More from Medium

How to Successfully Upgrade Laravel Applications to the latest version

How to Setup Laravel Valet on Mac

500 internal error Laravel

How to implement Rate Limiting in Laravel