Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcelosmbrrr/laravel-docker-setup

Laravel setup container
https://github.com/marcelosmbrrr/laravel-docker-setup

docker inertiajs laravel livewire

Last synced: 18 days ago
JSON representation

Laravel setup container

Awesome Lists containing this project

README

        

# About

This is a container setup for any version of Laravel vanilla, Laravel with Inertia and Livewire.

# Production

1. docker compose up -d
2. docker-compose exec app bash
3. npm install
4. Laravel deployment commands - https://laravel.com/docs/10.x/deployment
5. npm run build
6. Go to localhost:8000
7. Done!

# Development

NodeJS can run on local machine for development.

1. docker compose up -d
2. docker-compose exec app bash
3. Laravel deployment commands - https://laravel.com/docs/10.x/deployment
4. exit
5. npm run dev
6. Go to localhost:8000
7. Done!

# Errors and solutions:

ERR_CONNECTION_REFUSED


Solution: delete public/hot and rebuild the application