https://github.com/cba85/laravel-render
🌐 Laravel 10 app example for render.com using Docker and Vite
https://github.com/cba85/laravel-render
laravel laravel-10 render
Last synced: 8 months ago
JSON representation
🌐 Laravel 10 app example for render.com using Docker and Vite
- Host: GitHub
- URL: https://github.com/cba85/laravel-render
- Owner: cba85
- Created: 2023-03-10T09:45:04.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-06-01T13:32:54.000Z (about 3 years ago)
- Last Synced: 2025-04-12T07:18:05.921Z (about 1 year ago)
- Topics: laravel, laravel-10, render
- Language: PHP
- Homepage:
- Size: 79.1 KB
- Stars: 4
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel render
Laravel app example for [render.com](https://render.com) using Docker.
This guide uses Laravel 10 and is compatible with [Laravel Vite assets bundling](https://laravel.com/docs/10.x/vite).
## Install
Follow [Render.com official guide](https://render.com/docs/deploy-php-laravel-docker)
## Using with Vite
In `scripts/00-laravel-deploy.sh`, uncomment to run `Vite`:
```sh
echo "Running vite..."
npm install
npm run build
```
See https://laravel.com/docs/10.x/vite#running-vite
In `Dockerfile`, uncomment to install `node` and `npm` for `Vite`:
```dockerfile
RUN apk add --update nodejs npm
```