Giter Club home page Giter Club logo

tutorial-laravel-twill-inertia-vue3-vite-tailwind's Introduction

Laravel Twill Inertia Application

Deployment

Steps

Install project dependencies (Laravel, Twill, Inertia, ...)

# Development
composer install

# Live
composer install --no-dev --optimize-autoloader

Copy and rename .env.example to .env, then create application key

cp .env.example .env
php artisan key:generate

Execute migrations to initialize database structure

php artisan migrate

Create super admin account if needed

php artisan twill:superadmin

Create a symbolic link from public/storage to storage/app/public publicly accessible through /storage URL

php artisan storage:link

Initialize data

# Home page
php artisan db:seed PageHomeSeeder

Server Requirements

  • PHP version >= 8.2
  • PHP extensions:
    • Ctype
    • cURL
    • DOM
    • Exif
    • Fileinfo
    • Filter
    • Hash
    • JSON
    • Mbstring
    • OpenSSL
    • PCRE
    • PDO
    • Session
    • Tokenizer
    • XML

tutorial-laravel-twill-inertia-vue3-vite-tailwind's People

Contributors

agnonym avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tutorial-laravel-twill-inertia-vue3-vite-tailwind's Issues

How to access twill admin?

Hi there! Great work on this tutorial!

I am using valet and have linked two domains to this folder, edited my .env with proper url's but I don't seem to be able to get into the twill admin/management system.

Steps to reproduce

  • checkout this repo, install deps
  • valet link tutorial-twill-inetria
  • valet link admin.tutorial-twill-inetria
  • update .env with the following variables
APP_URL=tutorial-twill-inetria.test
ADMIN_APP_URL=admin.tutorial-twill-inetria.test
SESSION_DOMAIN=.tutorial-twill-inetria.test
MEDIA_LIBRARY_ENDPOINT_TYPE=local
MEDIA_LIBRARY_IMAGE_SERVICE=A17\Twill\Services\MediaLibrary\Glide
S3_KEY=S3_KEY
S3_SECRET=S3_SECRET
S3_BUCKET=bucket-name
IMGIX_SOURCE_HOST=source.imgix.net

Expected behaviour

Twill login screen

Actual behaviour

Twill site (vue app rendered by inertia)

Am I doing something wrong or did is miss a step?

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.