https://github.com/yorcreative/laravel-boiler
A barebones boilerplate application using the Laravel 12.x framework
https://github.com/yorcreative/laravel-boiler
boilerplate boilerplate-template docker laravel mailhog mysql quickstart redis redis-insight
Last synced: 4 months ago
JSON representation
A barebones boilerplate application using the Laravel 12.x framework
- Host: GitHub
- URL: https://github.com/yorcreative/laravel-boiler
- Owner: YorCreative
- License: mit
- Created: 2025-04-16T23:11:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-04-16T23:12:35.000Z (6 months ago)
- Last Synced: 2025-06-04T02:30:35.433Z (4 months ago)
- Topics: boilerplate, boilerplate-template, docker, laravel, mailhog, mysql, quickstart, redis, redis-insight
- Language: Blade
- Homepage:
- Size: 1.33 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
Laravel Boiler
# Installation
Follow these steps to set up and run the application containers locally using Docker.
## Prerequisites
Docker must be installed and running on your system.
## Steps
### 1. Clone or Fork the Repository
Obtain a copy of the repository by cloning or forking it to your local machine.### 2. Build and Launch the Docker Containers
Ensure Docker is active, then use the following command to build and start all services in detached mode:
```bash
docker compose up -d --build
```
Once complete, the application will be accessible at:
http://localhost:80### 3. Initializing Setup
Run the setup script, outside the docker container in the repository's root.```bash
bash setup.sh
```This will configure the application and prepare it for use.
### 4. Restoring a Fresh State
Running `setup.sh` creates backups of modified files and generates a `fresh-state.sh` script. You can execute `fresh-state.sh` to restore the repository to its initial state if you want to start over.
To restore, run the following command from the repository's root directory (outside the Docker container):
```bash
bash fresh-state.sh
```