Installer for creating a Netis CMS project on top of Drago Project.
- PHP >= 8.3
- Composer
composer global require netis-cms/netis:dev-masterCreate a new project:
create-netis cmsWithout an argument, the default target directory is netis:
create-netisYou can also install into the current empty directory:
create-netis .For local testing from this repository:
php bin/create-netis cmsThe command creates a base Drago project, installs the Netis preset packages, copies project resources, cleans vendor resource folders and exports SQL migrations:
composer create-project drago-ex/project <target-dir> --no-scripts
composer require --no-scripts <netis-packages>
php vendor/bin/drago-install
php vendor/bin/drago-clean
php vendor/bin/sql-export migrationsGo to the created project directory:
cd cmsInstall frontend dependencies:
npm installBuild frontend assets:
npm run vite:buildBuild Docker images:
npm run docker:buildStart the development Docker environment:
npm run docker:devAll available npm commands are listed in the created project's package.json.