jumpgate / jumpgate
使用 jumpgate 扩展的一般启动套件。
5.0.0
2022-03-14 06:07 UTC
Requires
- php: ^8.0.2
- guzzlehttp/guzzle: ^7.2
- inertiajs/inertia-laravel: ^0.5.4
- jumpgate/core: ~4.0
- jumpgate/menu: ~2.0
- jumpgate/view-resolution: ~5.0
- laravel/framework: ^9.2
- laravel/helpers: ^1.4
- laravel/tinker: ^2.7
- laravelcollective/html: ^6.3
- tightenco/ziggy: ^1.4.3
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.6.7
- barryvdh/laravel-ide-helper: ^2.12.3
- beyondcode/laravel-dump-server: ^1.8.0
- fakerphp/faker: ^1.9.1
- laravel/sail: ^1.0.1
- laravel/telescope: ^4.4
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^6.1
- phpunit/phpunit: ^9.5.10
- spatie/laravel-ignition: ^1.0
- dev-master
- 5.7.x-dev
- 5.0.0
- 4.0.0
- 3.0.2
- 3.0.1
- 3.0.0
- 2.0
- 1.0
- dev-dependabot/npm_and_yarn/webpack-5.76.1
- dev-dependabot/npm_and_yarn/minimist-1.2.8
- dev-dependabot/composer/symfony/http-kernel-6.0.20
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/moment-2.29.4
- dev-dependabot/composer/guzzlehttp/guzzle-7.4.5
- dev-dependabot/npm_and_yarn/async-2.6.4
- dev-dependabot/composer/guzzlehttp/psr7-2.2.1
- dev-dependabot/npm_and_yarn/node-forge-1.3.0
- dev-riddles8888-patch-1
This package is auto-updated.
Last update: 2024-09-15 01:30:21 UTC
README
需求
- PHP 8+
- Node 15+
- npm 15+
基本安装
cd <project dir>
git clone git@github.com:JumpGateio/JumpGate.git ./
composer install
php artisan jumpgate:setup
在此阶段,您的网站将使用 bootstrap 4 显示 JumpGate 主页。
- 在
.env
文件中设置您的数据库。 - 在
config/jumpgate/users.php
中设置您的偏好。 - 运行
php artisan jumpgate:database --users
。 - 如果您希望在网站上启用 telescope 监控,请运行
php artisan jumpgate:telescope
。 - 如果您想使用 echo 广播事件,请运行
php artisan jumpgate:events
。
Telescope & Websockets
Telescope 和 Laravel Websockets 不假设已安装,但为了便于使用,默认包含其部分内容。
config/telescope.php
&config/websockets.php
- 这些文件默认包含在 jumpgate 中。
- 它们为正常的 jumpgate 应用程序提供了合理的设置。
- 如果您不想使用任何包,可以自由删除这些文件。
app/Http/Composers/Menu.php
- 在
generateRightMenu()
方法中,有一个为 telescope 和 websockets 注释掉的链接。 - 如果您安装了其中一个包,取消注释该条目。
- 如果您选择不使用其中一个,您可以自由删除该块。
- 在