trovcms / installer
Trov CMS installer.
Requires
- php: ^7.4|^8.0
- nunomaduro/termwind: ^1.14
- symfony/console: ^4.0|^5.0|^6.0
- symfony/filesystem: ^6.1
- symfony/finder: ^6.1
- symfony/process: ^4.0|^5.0|^6.0
Requires (Dev)
- phpunit/phpunit: ^8.0|^9.3
- symfony/var-dumper: ^6.1
This package is auto-updated.
Last update: 2024-11-21 23:52:11 UTC
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 update
and 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.