- Demo: http://nghiennet.com
- Admin: http://nghiennet.com/admin
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
- 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
- php artisan make:entity post
- No
- yes
- No
- php artisan command:init-entity post
- php artisan command:migrate-scopes
- Settings | Languages & Frameworks | JavaScript | Webpack
- change path of webpack to node_modules/@vue/cli-service/webpack.config.js