TrovCMS command line installer.

Overview

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

  • --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.

You might also like...
PHP Extension installer

pickle - PHP Extension installer Pickle installs PHP extensions easily on all platforms. Installation Grab the latest phar at https://github.com/Frien

This is wegare tools but all-in-one installer only, exclude GUI

All In One Installer for Wegare Tools This is wegare tools, but this is all-in-one. Here is the source https://github.com/wegare123?tab=repositories I

Universal extension installer for Magento 2, see introductory blog post here
Universal extension installer for Magento 2, see introductory blog post here

ExtDN Installer for Magento 2 modules The installation of extensions for Magento 2 has a few scenarios to cover depending on your starting position (M

OSX/Linux Docker containers installer for Magento 2

Magento 2 OSX/Linux Docker Requirements MacOS: Docker, docker-sync, Git Linux: Docker, Docker-compose, Git on Debian based OS (Example: Ubuntu, Linux

An installer package that let's you install NodeJS and NPM as a Composer dependency.

NodeJS installer for Composer This is an installer that will download NodeJS and NPM and install them in your Composer dependencies. Installation is s

Composer installer for PHP_CodeSniffer coding standards

PHP_CodeSniffer Standards Composer Installer Plugin This composer installer plugin allows for easy installation of PHP_CodeSniffer coding standards (r

pine - A CLI installer for timber
pine - A CLI installer for timber

pine - A CLI installer for timber A CLI tool written in PHP based on symfony console to easily create a WordPress (Timber) project. Installation compo

This composer installer plugin allows for easy installation of PHP_CodeSniffer coding standards

PHP_CodeSniffer Standards Composer Installer Plugin This composer installer plugin allows for easy installation of PHP_CodeSniffer coding standards (r

Biblioteca para busca (on-line) de estados e os seus respectivos municípios via API disponibilizada pelo IBGE.
Biblioteca para busca (on-line) de estados e os seus respectivos municípios via API disponibilizada pelo IBGE.

LocalidadeX Biblioteca para busca (on-line) e listagem de estados e seus respectivos municípios, efetua a consulta via API do IBGE, disponibilizando o

Comments
  • Tags migration missing...

    Tags migration missing...

    I'm not sure if this is a Trov Core issue or an Installer issue, but I ran:

    trov new trov --all

    And after that got this when running the DemoSeeder:

    a db:seed --class=DemoSeeder
    
       INFO  Seeding database.
    
      Database\Seeders\UserSeeder .............................................................................................................. RUNNING
      Database\Seeders\UserSeeder ........................................................................................................ 17.47 ms DONE
    
      Database\Seeders\MediaSeeder ............................................................................................................. RUNNING
      Database\Seeders\MediaSeeder .................................................................................................... 3,994.76 ms DONE
    
      Database\Seeders\PageSeeder .............................................................................................................. RUNNING
      Database\Seeders\PageSeeder ........................................................................................................ 46.76 ms DONE
    
      Database\Seeders\PostSeeder .............................................................................................................. RUNNING
    
       Illuminate\Database\QueryException
    
      SQLSTATE[HY000]: General error: 1 no such table: tags (SQL: select max("order_column") as aggregate from "tags")
    
      at vendor/laravel/framework/src/Illuminate/Database/Connection.php:759
        755▕         // If an exception occurs when attempting to run a query, we'll format the error
        756▕         // message to include the bindings with SQL, which will make this exception a
        757▕         // lot more helpful to the developer instead of just the database's errors.
        758▕         catch (Exception $e) {
      ➜ 759▕             throw new QueryException(
        760▕                 $query, $this->prepareBindings($bindings), $e
        761▕             );
        762▕         }
        763▕     }
    
          +26 vendor frames
      27  database/seeders/PostSeeder.php:34
          Illuminate\Database\Eloquent\Factories\Factory::create(["post"])
    
          +1 vendor frames
      29  database/seeders/PostSeeder.php:37
          Illuminate\Support\Collection::each(Object(Closure))
    
    opened by skoontastic 3
Releases(v0.1.2)
Owner
TrovCMS
TrovCMS
Textpattern-installer - Textpattern plugin and theme installer for Composer

Textpattern Installer for Composer Package directory | Issues Install plugins and themes to Textpattern CMS with Composer. $ composer require rah/rah_

Jukka Svahn 7 Apr 14, 2022
Magento-composer-installer - Composer installer for Magento modules

!!! support the maintainer of this project via Patreon: https://www.patreon.com/Flyingmana Magento Composer Installer The purpose of this project is t

null 213 Sep 24, 2022
The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.

netz98 magerun CLI tools for Magento 2 The n98 magerun cli tools provides some handy tools to work with Magento from command line. Build Status Latest

netz98 758 Dec 28, 2022
m4b-tool is a command line utility to merge, split and chapterize audiobook files such as mp3, ogg, flac, m4a or m4b

m4b-tool m4b-tool is a is a wrapper for ffmpeg and mp4v2 to merge, split or and manipulate audiobook files with chapters. Although m4b-tool is designe

Andreas 798 Jan 8, 2023
Tango is a command-line tool for analyzing access logs 💃

Tango Tool to get insights from the server access logs Tango is a dependency-free command-line tool for analyzing access logs ?? Currently, work on th

Roman Glushko 94 Nov 22, 2022
Demo of symfony/console features to build rich command line utilities

Symfony Console Demo This project is a demonstration of symfony/console features. To run the project with Docker. With bash: docker build -t myconsole

Jérôme Tamarelle 3 Jun 16, 2022
🎮 A simple command line tool for installing and interacting with your leaf apps

Leaf CLI 2 A simple command line tool for creating and interacting with your leaf projects. You can do stuff like installing packages, interacting wit

Leaf Framework 7 Aug 24, 2022
Rugby schedules on the command-line

Rugby Schedule Rugby Schedule is a command-line tool that keeps you up to date with rugby tournament schedules. Install Requires PHP 8.0 or later Via

Owen Voke 0 Mar 17, 2022
Command line of the website.

Deutsch English Svenska Command 0.8.42 Command line of the website. How to use the command line Open a terminal window. Go to your installation folder

Anna 2 Dec 15, 2022
A collection of command-line utilities to aid in debugging browser engines.

Browser debug utilities This project contains several scripts that make the process of debugging browser engines much easier (some special cases excep

Clay Freeman 5 May 29, 2023