Git Product home page Git Product logo

laravel-10-base's Introduction

Laravel 10 Fresh Install with Docker Compose File

This is a fresh install of Laravel 10 with a docker-compose file. This is a simple way to get a Laravel 10 project up and running with Docker.

Getting Started

To get started, you will need to have Docker installed on your machine. Once you have Docker installed, you can follow the steps below.

Installation via Bash Script

  • Run this on your terminal
curl -s https://raw.githubusercontent.com/tedante/laravel-10-base/main/install.sh | bash
  • Jump to step 4, to install the dependencies and run migration.

Installation via clone repository

  1. clone the repository, then navigate to the project directory:
git clone [email protected]:tedante/laravel-10-base.git
cd laravel-10-base
  1. copy the .env.example file to .env and update the environment variables as needed:
cp .env.example .env
  1. run the following command to create the containers and start the project:
docker-compose up -d
  1. run the following command to install the dependencies:
docker-compose exec app composer install
docker-compose exec app php artisan key:generate
docker compose exec app php artisan migrate
docker compose exec app php artisan db:seed
  1. You can access it at http://localhost:8000.

License

The Laravel framework is open-sourced software licensed under the MIT license.

laravel-10-base's People

Contributors

tedante avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.