heroku
laravel new laravel-heroku
web: vendor/bin/heroku-php-apache2 public
git init
git add .
git commit -m "First commit"
heroku create
heroku config:add \
git push heroku master
heroku addons:add heroku-postgresql:hobby-dev
heroku config --app sleepy-beach-85731
Update config/database.php with the heroku pgsql details
php artisan make:auth
git add .
git commit -m "Updated database configuration"
heroku run php artisan migrate --app sleepy-beach-85731
Created
April 5, 2017 09:51
-
-
Save razzul/bb54b995b4f1b5178df8c8c69487f39f to your computer and use it in GitHub Desktop.
Heroku Config
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment