Skip to content

nghiennet89/nghiennet.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LAravel + vueTIFY

Deploy commands

PHP8

  • composer install

  • Edit config in .env.production

  • cp .env.production .env

  • Edit config in .env

  • cp ./storage/oauth-private.key.dev ./storage/oauth-private.key

  • cp ./storage/oauth-public.key.dev ./storage/oauth-public.key

  • php artisan migrate

  • php artisan db:seed

  • php artisan command:migrate-scopes

Node Version: 16.3+

  • npm install
  • npm run build
  • npm run watch

to override default keys

  • php artisan key:generate
  • php artisan passport:keys
  • If need override current passport client:
    • open mysql, truncate table oauth_clients
    • run command: php artisan passport:install

Sample for auto init front-end, backend of entity "Post"

  • php artisan make:entity post
    • No
    • yes
    • No
  • php artisan command:init-entity post
  • php artisan command:migrate-scopes

webpack config on intellij idea:

  • Settings | Languages & Frameworks | JavaScript | Webpack
  • change path of webpack to node_modules/@vue/cli-service/webpack.config.js

About

laravel & vuetify

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published