trovcms/installer
最新稳定版本:v0.1.2
Composer 安装命令:
composer require trovcms/installer
包简介
Trov CMS installer.
关键字:
README 文档
README
TrovCMS is a start kit for websites, built on Filament and Laravel. This install allows you to quickly spin up new sites to hit the ground running.
Install globally with composer.
composer global require trovcms/installer
Now you can run the new command to quickly set up a new Trov CMS Project.
trov new my-app
Options / Flags
- --force (Forces install even if the directory already exists)
- --faqs (Install FAQs Module)
- --discoveries (Install Discovery Center Module (Topic and Articles))
- --airport (Install the Airport Module (Landing Pages))
- --sheets (Install Sheets Module (Unbranded Pages))
- --blog (Install Blog Module)
- --all (Install All Modules)
Adding modules after installation
If you've installed TrovCMS already and would like to add a module to your app you may do so with the add command while inside your app's root directory.
trov add --faqs
After adding the module you will need to run the migrations and generate the policies and permissions.
Note: Currently there is an issue with regenerating policies where it will regenerate all of your policies. If you have any custom policies they will be lost. Please make backups before running these commands so that you can easily re-add your changes to existing policies
php artisan:migrate php artisan shield:generate
Common issues
Composer global install gives an error
- You should check your global composer.json file for conflicting packages. Or run
composer global updateand see if this resolves the issue.
I cannot install the composer package?
- Check if you're using the correct PHP version (>8.1)
Notes for Windows users
You might need to create a symlink to the storage manually. You can do so easily with the following command
php artisan storage:link
License
Trov Installer is open-sourced software licensed under the MIT license.
统计信息
- 总下载量: 42
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 11
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-26