While upgrading to a new version the following steps need to be taken:
composer update noardcode/compass-core.php artisan vendor:publish --tag=core-migrations to publish the migrations.crm-migrations, financial-migrations. php artisan migrate to migrate the database.php artisan db:seed CompassSeeder to seed the database.npm install to install the npm packages.npm run prod to compile the new assets.Migrations should be published in the following order:
Use the following command to ensure the right order:
Packages that are not installed are skipped.
php artisan vendor:publish --tag=core-migrations \
&& php artisan vendor:publish --tag=data-profiling-migrations \
&& php artisan vendor:publish --tag=crm-migrations \
&& php artisan vendor:publish --tag=financial-migrations \
&& php artisan vendor:publish --tag=ecommerce-migrations
Most projects contain a seeder called CompassSeeder. The seeders provided by compass package should allows be allowed to run to add new menu items, permissions and necessary data for new functionality.
Normally the CompassSeeder is also called in the deployment script of the application in Laravel Forge. If that isn't the case, it should be added to ensure full compass functionality.
Compass Seeders should be run in the following order:
To make use of the sass and js files provided by the compass packages, the following steps need to be taken:
package.json file.npm install to install the npm packages.resources/sass/app.scss and resources/js/bootstrap.js files.npm run prod to compile the new assets.Check the installation guide if some assets are missing