-
-
Save richardtorres314/181be25d2d4d033bc9cb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Laravel 5 - Deploy to Heroku | |
Martin Cruz Otiniano | |
> composer create-project laravel/laravel my_name_app | |
> cd my_name_app | |
> git init | |
> git add -A | |
> git commit -m "Initial commit" | |
> heroku login | |
> heroku create my-name-app-heroku | |
> heroku buildpack:set https://github.com/heroku/heroku-buildpack-php | |
> git push heroku master | |
> heroku open | |
> touch Procfile | |
Edit file and save | |
web: vendor/bin/heroku-php-apache2 public/ | |
> git add Procfile | |
> git commit -m "Add file Procfile" | |
> git push heroku master | |
> heroku open | |
Thanks! :D |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment