Giter VIP home page Giter VIP logo

ttii_2024_laraveldemos's Introduction

Setting up this demo

To start from scratch

Commands to be executed to create this project from scratch

    mkdir lab3lara
    cd lab3lara

    ddev config --project-type=laravel --docroot=public --php-version=8.3
    ddev composer create --prefer-dist --no-install --no-scripts laravel/laravel
    ddev composer update
    ddev php artisan key:generate
    ddev get ddev/ddev-phpmyadmin

    
    ddev import-db --database=mobile --file=.webtech-lu/001_db_dump.sql
    ddev mysql -uroot -proot < .webtech-lu/001_create_users_perms.sql

    ddev php artisan migrate
    ddev artisan make:controller AutomobileController

A good fix for "php executable path not set" problem by some development tools https://stackoverflow.com/a/73630729/239599

php artisan make:model Color --migration 
php artisan make:model Fuel --migration 
php artisan make:model Country --migration 
php artisan make:model Manufacturer --migration 
php artisan make:model Car --migration 

Other notes

After installing Laravel Breeze in DDEV configuration, the vite web development web server is not reachable. Follow this instruction on how to create another container for vite webserver and run it through HTTPS.

ttii_2024_laraveldemos's People

Contributors

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