-
you need php and composer previously installed on your machine
-
run:
composer install
to install dependences -
copy, paste and rename the '.env.example' file to '.env' and change all variables that you need
-
run:
php artisan key:generate
to generate an base64 key to set into APP_KEY variable into '.env' file -
run:
php artisan serve
to run into localhost:8000
done!
-
run:
php artisan key:generate --show
, copy it and paste into '.env' file into APP_KEY variable -
set the same APP_KEY key and value into Config Vars on your heroku app
-
connect your github repo into heroku on Deploy tab
-
enable automatic deploys
-
deploy branch master
enjoy!