anna-stupina38 / cinema-project
关于“网络开发者”职业的毕业设计。
1.3
2024-08-11 18:09 UTC
Requires
- php: ^8.1
- guzzlehttp/guzzle: ^7.2
- laravel/fortify: ^1.21
- laravel/framework: ^10.10
- laravel/sanctum: ^3.3
- laravel/tinker: ^2.8
- livewire/livewire: ^3.5
- moonshine/moonshine: ^2.15
Requires (Dev)
- fakerphp/faker: ^1.9.1
- laravel-lang/lang: ^14.8
- laravel/pint: ^1.0
- laravel/sail: ^1.18
- mockery/mockery: ^1.4.4
- nunomaduro/collision: ^7.0
- phpunit/phpunit: ^10.1
- spatie/laravel-ignition: ^2.0
This package is auto-updated.
Last update: 2024-09-11 18:17:49 UTC
README
使用Laravel 10和livewire联合开发,采用moonshine管理面板。
要求
- php >= 8.1
- composer > 2
- mySQL >= 5.6.0
安装
- 在终端中运行命令:composer create-project anna-stupina38/cinema-project
- 在您的本地或远程服务器上创建一个mySQL数据库,并编辑项目根目录下的.env文件,为常量分配值,其中
APP_URL:您的域名
DB_HOST: mySQL服务器地址
DB_PORT:连接端口
DB_DATABASE:数据库名称
DB_USERNAME:连接到数据库的用户名
DB_PASSWORD:连接到数据库的密码
创建存储链接
- php artisan storage:link
运行迁移
- php artisan migrate
创建管理员
- php artisan moonshine:user
资源
- 管理面板资源位于文件夹: App\MoonShine\Resources
- 进入管理面板的路径: /lk