Giter Site home page Giter Site logo

codespaces-laravel's Introduction

GitHub Codespaces + Laravel

This Codespace has everything you need to start exploring the Laravel Framework.

Specs

Github Codespace Specs
Container Definition PHP & MariaDB (MySQL compatible) php 8.2-bullseye
Extensions
SQLTools Database management for VS Code mtxr.sqltools
SQLTools MySQL Driver mtxr.sqltools-driver-mysql

Getting Started

Optionally customize the database environment variables in docker-compose.yml. All values are set to mariadb by default:

db:
    # ...

    environment:
      MYSQL_ROOT_PASSWORD:
      MYSQL_DATABASE:
      MYSQL_USER:
      MYSQL_PASSWORD:

Then apply those values in your .env file:

DB_DATABASE=
DB_USERNAME=
DB_PASSWORD=

Finally, migrate and seed your database:

php artisan migrate
php artisan db:seed

Building the project

To bundle your assets

npm run dev

To bundle your assets for production

npm run build

To serve your project

php artisan serve

Github Codespaces will automatically forward ports so you can view the running project on your local machine.

codespaces-laravel's People

Contributors

tammytee 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.