TrovCMS / installer

TrovCMS command line installer.
MIT License
11 stars 2 forks source link

Trov CMS Installer

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

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

I cannot install the composer package?

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.