https://github.com/loft-sh/devspace-php-laravel-nginx
https://github.com/loft-sh/devspace-php-laravel-nginx
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/loft-sh/devspace-php-laravel-nginx
- Owner: loft-sh
- Created: 2021-08-18T21:11:23.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-16T13:51:47.000Z (about 2 years ago)
- Last Synced: 2025-04-15T01:15:45.702Z (9 months ago)
- Language: PHP
- Size: 4.7 MB
- Stars: 7
- Watchers: 2
- Forks: 6
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a showcase for developing an PHP Laravel application in Kubernetes using Devspace. This repository is complimentary to [PHP Laravel Development with Kubernetes using DevSpace - Developer Edition](https://loft.sh/blog/php-laravel-development-with-kubernetes-devspace) blog post.
## Quicktart
### Checkout
```
git clone git@github.com:loft-sh/devspace-php-laravel-nginx.git
```
### Copy .env.example
```
cp .env.example .env
```
### Modify .env if needed
### Generate APP KEY
```
devspace run generate-key
```
### List and fill in required vars
```
devspace list vars
```
### Run DevSpace in development mode.
```
devspace dev
```
### Production
For production make sure you apply the profile "production" profile.
```
devspace use profile production
devspace deploy
```
or
```
devspace deploy -p production
```