Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeffersonrucu/setup_laravel
Laravel Application Starter with Docker A streamlined setup for Laravel applications using Docker. Includes steps for configuring environment variables, installing dependencies, and generating the application key.
https://github.com/jeffersonrucu/setup_laravel
docker laravel php
Last synced: 9 days ago
JSON representation
Laravel Application Starter with Docker A streamlined setup for Laravel applications using Docker. Includes steps for configuring environment variables, installing dependencies, and generating the application key.
- Host: GitHub
- URL: https://github.com/jeffersonrucu/setup_laravel
- Owner: jeffersonrucu
- Created: 2024-12-24T06:50:49.000Z (15 days ago)
- Default Branch: laravel-11/php8.4
- Last Pushed: 2024-12-24T07:10:08.000Z (15 days ago)
- Last Synced: 2024-12-30T12:46:08.501Z (9 days ago)
- Topics: docker, laravel, php
- Language: PHP
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## About Laravel
Laravel is a web application framework with an expressive and elegant syntax. It aims to make development an enjoyable and creative experience by simplifying common tasks used in many web projects, such as routing, authentication, and database migrations. Laravel is accessible, powerful, and provides the tools required for building large and robust applications.
## Starting the Application with Docker
### 1. Create the .env File
```bash
cp .env.example .env
```### 2. Start the Project Containers
```bash
docker-compose up -d
```### 3. Access the App Container
```bash
docker-compose exec app bash
```### 4. Install Project Dependencies
```bash
composer install
```### 5. Generate the Laravel Application Key
```bash
php artisan key:generate
```### Note
Node.js is not included in the Docker environment. You need to have Node.js installed on your machine. Use the following commands outside the Docker bash shell. Version 23 of Node.js is recommended.
```bash
yarn && yarn build
OR
npm install && npm run build
```### Common Links
- Laravel: [http://localhost:8000](http://localhost:8000)
- Maillog: [http://localhost:8025](http://localhost:8025)
- PHPMyAdmin: [http://localhost:8080](http://localhost:8080)## License
The Laravel framework is open-source software licensed under the [MIT license](https://opensource.org/licenses/MIT).