Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bradlc/now-laravel
Deploy Laravel to Now
https://github.com/bradlc/now-laravel
docker laravel now now-cli zeit
Last synced: 2 days ago
JSON representation
Deploy Laravel to Now
- Host: GitHub
- URL: https://github.com/bradlc/now-laravel
- Owner: bradlc
- Created: 2018-08-17T22:51:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-17T13:17:12.000Z (about 6 years ago)
- Last Synced: 2024-12-06T22:38:20.966Z (30 days ago)
- Topics: docker, laravel, now, now-cli, zeit
- Language: PHP
- Homepage:
- Size: 183 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# now-laravel
> Run [Laravel](https://laravel.com/) on [Now](https://zeit.co/now)
Based on [now-examples/php-7-hello-world](https://github.com/zeit/now-examples/tree/master/php-7-hello-world) and [Creating Multi-Stage Docker Builds for Laravel](https://laravel-news.com/multi-stage-docker-builds-for-laravel)
```
git clone https://github.com/bradlc/now-laravel.git
``````
cd now-laravel
``````
composer install
``````
cp .env.example .env && php artisan key:generate
``````
npm run deploy
```To use an env file other than `.env`:
```
DOT_ENV=.env.production npm run deploy
```