Skip to content

Latest commit

 

History

History
41 lines (30 loc) · 1.56 KB

README.md

File metadata and controls

41 lines (30 loc) · 1.56 KB

laravel-getting-started

A barebones Laravel 5.7 app.

This application supports the Getting Started with Laravel on Heroku article - check it out.

Running Locally

Make sure you have Composer and the Heroku CLI installed.

$ git clone https://github.com/narita1980/laravel-getting-started.git # or clone your own fork
$ cd laravel-getting-started
$ composer install
$ mv .env.example .env
$ php artisan key:generate
$ php artisan serve

Your app should now be running on 127.0.0.1:8000.

Deploying to Heroku

$ heroku create
$ git push heroku master
$ heroku config:set APP_KEY=$(php artisan --no-ansi key:generate --show)
$ heroku open

Documentation

For more information about using Laravel on Heroku, see these Dev Center articles: